mirror of
https://github.com/3cky/mbusd.git
synced 2024-09-27 03:53:02 +02:00
Default log file name changed to /var/log/mbusd.log
This commit is contained in:
parent
7475bdf141
commit
d6e6b74a53
@ -62,7 +62,7 @@ Usage:
|
|||||||
-d Instruct mbusd not to fork itself (non-daemonize).
|
-d Instruct mbusd not to fork itself (non-daemonize).
|
||||||
-L logfile
|
-L logfile
|
||||||
Specifies log file name ('-' for logging to STDOUT only, relative path or bare filename
|
Specifies log file name ('-' for logging to STDOUT only, relative path or bare filename
|
||||||
will be stored at /var/log, default is /var/log/mbus.log).
|
will be stored at /var/log, default is /var/log/mbusd.log).
|
||||||
-v level
|
-v level
|
||||||
Specifies log verbosity level (0 for errors only, 1 for warnings and 2 for informational
|
Specifies log verbosity level (0 for errors only, 1 for warnings and 2 for informational
|
||||||
messages also). If mbusd was compiled in debug mode, valid log levels are up to 9,
|
messages also). If mbusd was compiled in debug mode, valid log levels are up to 9,
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
loglevel = 2
|
loglevel = 2
|
||||||
|
|
||||||
# Logfile (fully-qualified path, or filename [stored at /var/log/] or - for STDOUT only)
|
# Logfile (fully-qualified path, or filename [stored at /var/log/] or - for STDOUT only)
|
||||||
logfile = /var/log/mbus.log
|
logfile = /var/log/mbusd.log
|
||||||
|
|
||||||
########## Serial port settings #############
|
########## Serial port settings #############
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ extern int isdaemon;
|
|||||||
|
|
||||||
/* Default log file path and name */
|
/* Default log file path and name */
|
||||||
#define LOGPATH "/var/log/"
|
#define LOGPATH "/var/log/"
|
||||||
#define LOGNAME "mbus.log"
|
#define LOGNAME "mbusd.log"
|
||||||
|
|
||||||
#ifdef LOG
|
#ifdef LOG
|
||||||
int log_init(char *logname);
|
int log_init(char *logname);
|
||||||
|
Loading…
Reference in New Issue
Block a user