diff options
Diffstat (limited to 'api')
-rw-r--r-- | api/src/glfs.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/api/src/glfs.c b/api/src/glfs.c index efda6b67eae..9fa0a467b02 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -477,7 +477,8 @@ glfs_set_logging (struct glfs *fs, const char *logfile, int loglevel) int ret = 0; if (logfile) { - ret = gf_log_init (fs->ctx, logfile); + /* passing ident as NULL means to use default ident for syslog */ + ret = gf_log_init (fs->ctx, logfile, NULL); if (ret) return ret; } |