Fixed issue with extra debug not working for components.
git-svn-id: http://svn.zoneminder.com/svn/zm/trunk@2768 e3e1d417-86f3-4887-817a-d78f3d33393f
This commit is contained in:
parent
9690eb66fe
commit
b1b4c8e42d
|
@ -209,7 +209,7 @@ int zmDebugInitialise( const char *name, const char *id, int level )
|
||||||
|
|
||||||
(void) openlog( zm_dbg_syslog, LOG_PID|LOG_NDELAY, LOG_LOCAL1 );
|
(void) openlog( zm_dbg_syslog, LOG_PID|LOG_NDELAY, LOG_LOCAL1 );
|
||||||
|
|
||||||
strncpy( zm_dbg_name, zm_dbg_syslog, sizeof(zm_dbg_name) );
|
//strncpy( zm_dbg_name, zm_dbg_syslog, sizeof(zm_dbg_name) );
|
||||||
|
|
||||||
zm_dbg_log_fd = (FILE *)NULL;
|
zm_dbg_log_fd = (FILE *)NULL;
|
||||||
|
|
||||||
|
@ -388,7 +388,7 @@ void zmDbgOutput( int hex, const char * const file, const int line, const int le
|
||||||
char *dbg_ptr = dbg_string;
|
char *dbg_ptr = dbg_string;
|
||||||
dbg_ptr += snprintf( dbg_ptr, sizeof(dbg_string), "%s %s[%ld].%s-%s/%d [",
|
dbg_ptr += snprintf( dbg_ptr, sizeof(dbg_string), "%s %s[%ld].%s-%s/%d [",
|
||||||
time_string,
|
time_string,
|
||||||
zm_dbg_name,
|
zm_dbg_syslog,
|
||||||
syscall(224),
|
syscall(224),
|
||||||
class_string,
|
class_string,
|
||||||
file,
|
file,
|
||||||
|
|
Loading…
Reference in New Issue