Nothing seemed to work until I capitalized the logs folder in my web.config. Mine looks like stdoutLogFile=".\Logs\stdout". My actual 'logs' folder is all lowercase.
⚠Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Hello @mikecasas ... The guidance we've received from the engineers is that path isn't case sensitive, so it shouldn't matter how you case the folder name or the stdoutLogFile path. As long as they match, the log file should be written when stdoutLogEnabled is true.
If you continue to see some other behavior, I recommend opening an issue on the aspnet/Home repo at https://github.com/aspnet/Home/issues, where the engineers will see it. If you find out from the engineers that we need to make doc changes to accommodate some kind of special casing circumstances, please come back and post here.
@mikecasas what version of the AspNetCoreModule are you using? We can confirm that the path is case insensitive in the new ANCM.
@jkotalik Is there a quick way to get the version number? Like a winver
@mikecasas See: https://docs.microsoft.com/aspnet/core/host-and-deploy/aspnet-core-module#module-version-and-hosting-bundle-installer-logs
8.2.1991.0
Alright that is the most recent version. I'll file an issue to verify the behavior, and we can update the documentation.
Slightly off topic, @guardrex @shirhatti @muratg when should we start writing docs for all of the work we have done with ANCM? Things are fairly stabilized now.
@jkotalik Anytime for the issue. It would probably take a few weeks to get to the work given that I'm _still_ trying to get back to 2.1 sample updates. 😅
Can you open a docs issue assigned to me with the work to be done? Otherwise if you can send me a list of your engineering issues/PRs of work that you want covered, I'll open an issue based on those.
Note that our versioning is by ASP.NET Core release, and it might be difficult to map ANCM updates exactly if they didn't coincide cleanly with Core releases. It's helpful for each ANCM enhancement to know if it fell in under 2.0 or 2.1 ... or is going to land for 2.2.
I wasn't able to verify case-sensetivity of log file name. There is a known issue in V1 ACNM that you might be hitting: module doesn't automatically create subfolders so you have to have existing Logs directory for stdoutLogFile=".\Logs\stdout" to work.
Thanks for contacting us. We believe that the question you've raised have been answered. If you still feel a need to continue the discussion, feel free to reopen it and add your comments.
Most helpful comment
@mikecasas See: https://docs.microsoft.com/aspnet/core/host-and-deploy/aspnet-core-module#module-version-and-hosting-bundle-installer-logs