mirror of
https://github.com/winfsp/winfsp.git
synced 2025-07-01 16:32:56 -05:00
dll: fuse: debug output goes to stderr; configurable with -oDebugLog=FILE
This commit is contained in:
@ -112,7 +112,7 @@ usage: passthrough OPTIONS
|
||||
|
||||
options:
|
||||
-d DebugFlags [-1: enable all debug logs]
|
||||
-D DebugLogFile [file path; use - for stdout]
|
||||
-D DebugLogFile [file path; use - for stderr]
|
||||
-u \Server\Share [UNC prefix (single backslash)]
|
||||
-p Directory [directory to expose as pass through file system]
|
||||
-m MountPoint [X:|*|directory]
|
||||
@ -138,7 +138,7 @@ The variable `DebugLogFile` is used to control the WinFsp debug logging mechanis
|
||||
if (0 != DebugLogFile)
|
||||
{
|
||||
if (0 == wcscmp(L"-", DebugLogFile))
|
||||
DebugLogHandle = GetStdHandle(STD_OUTPUT_HANDLE);
|
||||
DebugLogHandle = GetStdHandle(STD_ERROR_HANDLE);
|
||||
else
|
||||
DebugLogHandle = CreateFileW(
|
||||
DebugLogFile,
|
||||
|
Reference in New Issue
Block a user