Rev 3 | Rev 8 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
2 | daniel-mar | 1 | <?php |
2 | |||
4 | daniel-mar | 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 | |||
2 | daniel-mar | 20 | define('COUNT', 200); |
21 | |||
22 | define('MAXYEARS', 1); |
||
23 | |||
3 | daniel-mar | 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')); |
||
2 | daniel-mar | 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 | |||
3 | daniel-mar | 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 |