Skip to content
This repository was archived by the owner on Mar 28, 2018. It is now read-only.

Commit 9911475

Browse files
committed
shim: Do not print to stderr as well while logging
Now that we send the debug flag to shim, we should not print to stderr, so get rid of LOG_PERROR and LOG_CONS syslog options. Signed-off-by: Archana Shinde <archana.m.shinde@intel.com>
1 parent 95369ca commit 9911475

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shim/log.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static bool debug;
2828
*/
2929
void shim_log_init(bool _debug)
3030
{
31-
int syslog_options = (LOG_CONS | LOG_PID | LOG_PERROR | LOG_NOWAIT);
31+
int syslog_options = (LOG_PID | LOG_NOWAIT);
3232

3333
debug = _debug;
3434
openlog(0, syslog_options, LOG_USER);

0 commit comments

Comments
 (0)