-
Notifications
You must be signed in to change notification settings - Fork 905
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trace logging should only occur on when trace is enabled #1309
Comments
ferventcoder
added a commit
that referenced
this issue
May 29, 2017
Trace logging should only occur when tracing is enabled. It can provide a pretty significant amount of logging, so ensure it only happens if someone has enabled `--trace`.
ferventcoder
added a commit
that referenced
this issue
May 29, 2017
* pr1264: (26 commits) (maint) COMMITTERS - EOL change to CRLF (doc) update CONTRIBUTING/COMMITTERS (GH-1241) XmlService - trace logging information (maint) formatting (GH-1241) FileSystem - move file creates directory (GH-1241) Explicitly handle closing (maint) formatting (GH-1292) Ensure manifest extracted on unpackself (log) replace_file use new lines for log (maint) update CHANGELOG / nuspec (maint) nuspec - add info links to description (maint) clean up lib nuspec (GH-1311) Install-ChocolateyPowershellCommand File/FileFullPath aliases (GH-1284) ensure file/filefullpath on functions (maint) ReadMe updates (GH-1241) Use process id with update file (maint) restrict list start/end messages to log file (GH-1309) Restrict trace output (GH-1241) More Robust File.Replace (GH-1241) Use write_file for stream writing ...
ferventcoder
added a commit
that referenced
this issue
May 29, 2017
* stable: (26 commits) (maint) COMMITTERS - EOL change to CRLF (doc) update CONTRIBUTING/COMMITTERS (GH-1241) XmlService - trace logging information (maint) formatting (GH-1241) FileSystem - move file creates directory (GH-1241) Explicitly handle closing (maint) formatting (GH-1292) Ensure manifest extracted on unpackself (log) replace_file use new lines for log (maint) update CHANGELOG / nuspec (maint) nuspec - add info links to description (maint) clean up lib nuspec (GH-1311) Install-ChocolateyPowershellCommand File/FileFullPath aliases (GH-1284) ensure file/filefullpath on functions (maint) ReadMe updates (GH-1241) Use process id with update file (maint) restrict list start/end messages to log file (GH-1309) Restrict trace output (GH-1241) More Robust File.Replace (GH-1241) Use write_file for stream writing ... # Conflicts: # CONTRIBUTING.md # README.md
ferventcoder
added a commit
that referenced
this issue
May 29, 2017
Allow calling trace directly and have it do the appropriate thing. If trace is called through a logger, redirect to the trace method.
ferventcoder
added a commit
that referenced
this issue
May 29, 2017
All current calls to tracing should be simplified so the calls are easier to see.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Restrict tracing output to when trace is enabled.
The text was updated successfully, but these errors were encountered: