Application log file

From Plex-XML
Jump to: navigation, search

During runtime your Plex-XML application could write a bunch of information in the application log file.

  • in a standard environment your log file could be found in the ../tomcat/log directory and is named like your application with a log extension
  • see Log4j.xml for more infos

Plex API-Calls

  • if you like to write a WARN-Message you could use the following Plex snippet:
ª+1 Comment  Post Message as WARN in Logfile
ª+1 Cast  Environment<*Message text>, Output/ControlOutput<TransactionMessage>
	|0 32 e000fc8 Source code: Log Common Java
	|1 <none>
	|2 15 e000fec Field: LoggerName
	|3 <none>
	|4 20 e000fca Value: LoggerName.plexperformance
	|7 32 e000fc8 Source code: Log Common Java
	// <LoggerName>	<LoggerName.plexperformance>
	|1 <none>
	|2 15 e000fea Field: LoggerLevel
	|3 <none>
	|4 20 e000fdf Value: LoggerLevel.WARN
	|7 32 e000fc8 Source code: Log Common Java
	// <LoggerLevel>	<LoggerLevel.WARN>
	|1 <none>
	|2 15 60000355 Field: *Message text
	|3 Environment
	|4 15 60000355 Field: *Message text
	|7 32 e000fc8 Source code: Log Common Java
	// <*Message text>	Environment<*Message text>
ª+1 API Call  Source code: PATTY/Log Common Java
@@
Personal tools