8000 ProcessDir Layout Renderer · NLog/NLog Wiki · GitHub
[go: up one dir, main page]

Skip to content

ProcessDir Layout Renderer

Rolf Kristensen edited this page Jun 22, 2025 · 7 revisions

The current process executable directory of the application.

Platforms Supported: All

Introduced in NLog v4.7.1.

See also ${basedir}, ${specialfolder}, ${currentdir}, ${tempdir}

Configuration Syntax

${processdir:dir=String:file=String}

Parameters

Advanced Options

  • dir: Name of the directory to be Path.Combine()'d with the process directory.

  • file: Name of the file to be Path.Combine()'d with the process directory.

Remarks

This is the same as using ${basedir:processDir=true}.

See also: FileTarget FileName Directory

Clone this wiki locally
0