]> granicus.if.org Git - fcron/blobdiff - log.h
tweaked fcron logging to file
[fcron] / log.h
diff --git a/log.h b/log.h
index 5bf643a1e04b88382ab4f163422ba9433649c675..d18e5c30796b24454a758d6f7b38ba4245e7598f 100644 (file)
--- a/log.h
+++ b/log.h
 #define __LOG_H__
 
 extern char debug_opt;
+extern char *logfile_path; /* path to a file to log to. Set to NULL to disable logging to a file */
+extern int dosyslog; /* set to 1 when we log messages to syslog, else 0 */
 
 /* functions prototypes */
+extern void xopenlog(void);
 extern void xcloselog(void);
 extern void explain(char *fmt, ...);
 extern void explain_fd(int fd, char *fmt, ...);