Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion log.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ static size_t nlog_verbose;
extern char *__progname;

#ifdef WINDOWS
#define LOG_SYSLOG_VIS (VIS_CSTYLE|VIS_NL|VIS_TAB|VIS_OCTAL|VIS_LOG_UTF16)
/* We need NOSLASH on windows to avoid double escaping slashes when having them
* in logs on purpose, such as when using the slog patches from hyperscale
*/
#define LOG_SYSLOG_VIS (VIS_CSTYLE|VIS_NL|VIS_TAB|VIS_OCTAL|VIS_LOG_UTF16|VIS_NOSLASH)
#else
#define LOG_SYSLOG_VIS (VIS_CSTYLE|VIS_NL|VIS_TAB|VIS_OCTAL)
#endif
Expand Down