Login | ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/logviewer/trunk/config.inc.php
Revision: 4
Committed: Wed May 1 21:20:25 2019 UTC (16 months, 4 weeks ago) by daniel-marschall
File size: 1519 byte(s)
Log Message:
License is now Apache2

File Contents

# Content
1 <?php
2
3 /*
4 * ViaThinkSoft LogViewer
5 * Copyright 2018-2019 Daniel Marschall, ViaThinkSoft
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 */
19
20 define('COUNT', 200);
21
22 define('MAXYEARS', 1);
23
24 #define('apache_log_locations', array('/home/*/log/error*.log*', '/home/*/hosts/*/log/error*.log*', '/daten/admin/_probleme/php_codefixer/all_php_files.out'));
25 define('apache_log_locations', array('/daten/admin/_probleme/php_codefixer/all_php_files.out'));
26
27 define('php_log_locations', array('/home/*/log/php_error*.log*', '/home/*/hosts/*/log/php_error*.log*'/* , '/var/log/php/error.log*' */));
28
29 // 0 = No source is displayed
30 // 1 = Columns "source" (=logfile) and "module" (module)
31 // 2 = Column "user" which tries to find out the user's home dir from the logfile
32 define('SOURCE_STYLE', 2);
33
34 // Don't look at .gz files. But if you enable it, then it is important that you run insert_logs before log-rotating.
35 define('IGNORE_GZ', false);
36
37 define('MAX_DAYS_LOGFILE', 30); // only read the logfiles of the last 30 days