Skip to content

Commit ec84a50

Browse files
committed
Added condition for help messages
1 parent 9ba1e57 commit ec84a50

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/libltfs/ltfslogging.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -466,7 +466,9 @@ int ltfsmsg_internal(bool print_id, int level, char **msg_out, const char *_id,
466466
}
467467

468468
#ifdef mingw_PLATFORM
469-
if (level <= ltfs_syslog_level || level <= ltfs_log_level)
469+
if (level <= ltfs_syslog_level
470+
|| level <= ltfs_log_level
471+
|| level == (LTFS_TRACE + 1)) // For "Help" messages
470472
{
471473
va_start(argp, _id);
472474
vsyslog2(level, output_buf, argp);

0 commit comments

Comments
 (0)