Subversion Repositories logviewer

Rev

Rev 4 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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