diagnostic_log Class
Directs debug logs to a specified file.
- Inheritance
-
builtins.objectdiagnostic_log
Constructor
diagnostic_log(log_path=None, namespaces=None, context_name=None)
Parameters
- log_path
- str
default value: None
A path with log file name. If None, a file named "azureml.log" is created.
- namespaces
- list
default value: None
A list of namespaces to capture logs for. If None, the default is "azureml", "msrest.http_logger", "urllib2", and "azure".
- context_name
default value: None
A name to identify the logging context. If None, the context of the calling stack frame is used.
Methods
start_capture |
Start the capture of debug logs. |
stop_capture |
Stop the capture of debug logs. |
start_capture
Start the capture of debug logs.
start_capture()
stop_capture
Stop the capture of debug logs.
stop_capture()
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for