Skip to content

UNC path as log destination gets a breaking prefix #9

Description

@mlsomers

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I'm trying to configure a UNC path for the Stdout log.

<httpPlatform
		stdoutLogEnabled="true"
		stdoutLogFile="\\SERVER\path\stdout.log"
		startupTimeLimit="20"
		processPath="C:\Program Files\nodejs\node.exe"
		arguments=".\serv.cjs"
>

No log appears, but a warning in the eventlog with a strange prefix before the path (see below at exceptions).

Expected Behavior

A file named (or starting with the name) "stdout.log" should be created in the specified directory when the server starts.

Steps To Reproduce

Put a UNC path as value of the stdoutLogFile attribute of the httpPlatform tag in the web.config file.

Exceptions (if any)

In the Eventlog I find a warning

Could not create stdoutLogFile \?\UNC\SERVER\path\stdout.log_20250122131757_2184.log, ErrorCode = '0x800700a1'.

HttpPlatformHandler Version

v2.0 RC3 (httpplatformhandlermodule_x64_en_v2_8.0.3.msi)

Anything else?

node-v20.18.0-x64

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions