Page tree
Skip to end of metadata
Go to start of metadata

Set the log level

The default logging level id NONE. 
You can activate it by calling setLogLevel with the appropriate string according to your needs.

If you are using Temasys AdapterJS version 0.10.4 and above, the following convenience method is available:

AdapterJS.WebRTCPlugin.setLogLevel(logLevel);


The different log levels available are (from the more verbose to the least verbose):

AdapterJS.WebRTCPlugin.PLUGIN_LOG_LEVELS = {
	NONE : 'NONE', // Default
	ERROR : 'ERROR', 
	WARNING : 'WARNING',
	INFO: 'INFO',
	VERBOSE: 'VERBOSE',
	SENSITIVE: 'SENSITIVE' 
};

Logs location

The logs are in:

  • Win 7 this : %USERPROFILE%\AppData\LocalLow\TemWebRTCPlugin\logs,
  • Mac : ~/Library/Application Support/TemWebRTCPlugin/logs

Every new start of the plugin generates a new log file. 
The files are named as follow:

Timestamp_MainThreadNumber.log
// for example: 1446623017_0x7fff7c464300.log

Logs Format

The log format it as follow: 

TIME_SINCE_START [THREAD_NUMBER] [LOG_LEVEL] FireBreath <> - [TAB_ID] - [CODE_LOCATION] - MESSAGE

Example for a plugin made log: 

11295 [0x7fff7c464300] WARN FireBreath <> - [tv13oacd93n] - TemMediaStream::enableSoundTracks - This method is deprecated

Example for a libWebRTC made log: 

49143 [0x112312000] INFO FireBreath <> - [u3w3uoox5rf] - [WEBRTC] - Removing video stream 0 with VideoEngine channel #0

Entering verbose mode - Prior to plugin version 0.8.861

The default logging level id NONE. You can activate it by calling setLogLevel with the appropriate string according to your needs.

If you are using Temasys AdapterJS version 0.10.4 and above, the following convenience method is available:

AdapterJS.WebRTCPlugin.setLogLevel(logLevel) 

The different log levels available are (from the more verbose to the least verbose):

AdapterJS.WebRTCPlugin.PLUGIN_LOG_LEVELS = {
  NONE : 'NONE',
  ERROR : 'ERROR',  
  WARNING : 'WARNING', 
  INFO: 'INFO', 
  VERBOSE: 'VERBOSE', 
  SENSITIVE: 'SENSITIVE'  
};

Output Prefix Glossary: 

Log output is prefixed in some cases. 

  • INFO: Information reported by the plugin. 
  • ERROR: Errors originating from within the plugin.
  • WEBRTC: Error originating from within the foundation WebRTC library (Google's implementation)

 

 

  • No labels