diff options
author | Jeff Garzik <jeff@garzik.org> | 2006-12-05 10:06:09 -0500 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-12-05 10:06:09 -0500 |
commit | d7473767552c3df9dbb9e9e5b9e3645388035325 (patch) | |
tree | ff30092c55d8ea21b433e03a7f0ad34cf164cd53 | |
parent | 1520ee149e5ae6cd57eab8bc99f03b899f2133c1 (diff) | |
download | dbfs-d7473767552c3df9dbb9e9e5b9e3645388035325.tar.gz |
syslog banner post-init. default to debugging enabled, for now.
-rw-r--r-- | dbfs.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -21,6 +21,7 @@ #define _BSD_SOURCE +#include "dbfs-config.h" #include <fuse_lowlevel.h> #include <stdlib.h> #include <string.h> @@ -32,7 +33,7 @@ #include <db.h> #include "dbfs.h" -int debugging = 0; +int debugging = 1; static void dbfs_fill_attr(const struct dbfs_inode *ino, struct stat *st) { @@ -107,8 +108,7 @@ static void dbfs_op_init(void *userdata, struct fuse_conn_info *conn) gfs = fs; - if (debugging) - syslog(LOG_DEBUG, "EXIT dbfs_op_init"); + syslog(LOG_INFO, PACKAGE_STRING " initialized"); } static void dbfs_op_destroy(void *userdata) |