diff options
author | Poornima G <pgurusid@redhat.com> | 2014-06-02 14:11:29 +0530 |
---|---|---|
committer | Vijay Bellur <vbellur@redhat.com> | 2014-06-05 22:12:40 -0700 |
commit | 535003ca20a9dd00a09dd34ad26947d888aabe39 (patch) | |
tree | a8dbfb2932a95f84a62b9ba48b3739c1f839296a /libglusterfs/src/glfs-message-id.h | |
parent | 42b956971c47fd0708cbbd17ce8c78c2ed79bfba (diff) |
logging: Prior to log initialization, print all logs to syslog.
There can be calls to gf_msg even before caling logging_init().
Currently such messages appear on stderr. In this patch, gf_msg
is changed to log messages to syslog if the logging framework is
not inited.
Change-Id: I8fcf562f9d07b5b6b789fbd9e6f37b354de16b98
BUG: 1103623
Signed-off-by: Poornima G <pgurusid@redhat.com>
Reviewed-on: http://review.gluster.org/7948
Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Vijay Bellur <vbellur@redhat.com>
Diffstat (limited to 'libglusterfs/src/glfs-message-id.h')
0 files changed, 0 insertions, 0 deletions