Commit dd36c196686a4c215bdac1d92ca84dd3986a3f89
1 parent
b500a0c9
Exists in
master
and in
3 other branches
Fixing syslog methods.
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/core/linux/log.c
| ... | ... | @@ -47,7 +47,7 @@ |
| 47 | 47 | #ifdef HAVE_SYSLOG |
| 48 | 48 | if(use_syslog) |
| 49 | 49 | { |
| 50 | - vsyslog(LOG_USER, fmt, arg_ptr); | |
| 50 | + vsyslog(LOG_INFO, fmt, arg_ptr); | |
| 51 | 51 | } |
| 52 | 52 | else |
| 53 | 53 | { |
| ... | ... | @@ -71,7 +71,7 @@ |
| 71 | 71 | { |
| 72 | 72 | if(!use_syslog) |
| 73 | 73 | { |
| 74 | - openlog(LIB3270_STRINGIZE_VALUE_OF(LIB3270_NAME), LOG_NDELAY, LOG_USER); | |
| 74 | + openlog(LIB3270_STRINGIZE_VALUE_OF(LIB3270_NAME), LOG_CONS, LOG_USER); | |
| 75 | 75 | use_syslog = 1; |
| 76 | 76 | } |
| 77 | 77 | } | ... | ... |