mirror of
https://git.proxmox.com/git/pmg-log-tracker
synced 2025-08-17 21:52:21 +00:00
re-add support for old log (for testing)
This commit is contained in:
parent
34b471435e
commit
bf47294945
@ -275,7 +275,7 @@ void parser_free (LParser *parser);
|
|||||||
|
|
||||||
//#define LOGPATH "./log/"
|
//#define LOGPATH "./log/"
|
||||||
#define LOGPATH "/var/log/"
|
#define LOGPATH "/var/log/"
|
||||||
//#define LOGPATH "/var/log5/"
|
//#define LOGPATH "/root/testlog/"
|
||||||
|
|
||||||
static const char *logfiles[] = {
|
static const char *logfiles[] = {
|
||||||
LOGPATH "syslog",
|
LOGPATH "syslog",
|
||||||
@ -1973,7 +1973,8 @@ main (int argc, char * const argv[])
|
|||||||
strmatch = 1;
|
strmatch = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (csum_prog == 0x6C746572) { // pmg-smtp-filter
|
if ((csum_prog == 0x70726F78) ||// proxprox
|
||||||
|
(csum_prog == 0x6C746572)) { // pmg-smtp-filter
|
||||||
|
|
||||||
if ((idx1 = parse_qid (&cpos, qidbuf, ':', 25))) {
|
if ((idx1 = parse_qid (&cpos, qidbuf, ':', 25))) {
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user