Skip to content

Creating a CMS with occms template writes internal logs into the ${var:configDir}/logs #18093

@stoyandimov

Description

@stoyandimov

Describe the bug

Creating a CMS with occms template writes internal logs into the [app-root]/'${var:configDir}'/logs, while cloing the repo and running the CMS project creates the internal logs under App_Data/logs/internal-nlog.txt

Orchard Core version

2.1.7

To Reproduce on Linux

dotnet new occms --name MyCms
cd MyCms
dotnet run
# then stop the application after it has started

Now the internal logs are writen in '${var:configDir}/logs/internal-nlog.txt' (please NOTE ${var:configDir} is as is in the file system and not a placeholder I'm putting here)

Expected behavior

I would expect the logs to go together with the other logs in:
App_Data/logs/ folder

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions