admin:runningexamples
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
admin:runningexamples [2011/09/12 11:40] – created jwarrior | admin:runningexamples [Unknown date] (current) – external edit (Unknown date) 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Running Examples ====== | ||
+ | * test packaged images. | ||
+ | * load the config map. | ||
+ | * load the 8/2/2011 verions of LogManager>> | ||
+ | * put the packaged images in c:\temp | ||
+ | * from nls, run // | ||
+ | * or, // | ||
+ | * or // | ||
+ | * the switch above is -i, not -ic: | ||
+ | * XD images get run just like abt.icx. | ||
+ | |||
+ | < | ||
+ | EslogManage>> | ||
+ | |||
+ | | iniContent noError runParams | | ||
+ | |||
+ | iniContent := Dictionary new. | ||
+ | (System iniFileGetContentsArray: | ||
+ | associationsDo: | ||
+ | |||
+ | iniContent isEmpty ifTrue: [^self]. "this is ok" | ||
+ | |||
+ | noError := true. | ||
+ | # | ||
+ | iniContent | ||
+ | at: each | ||
+ | ifAbsent: | ||
+ | EsLogLog error: (MxESf17 bindWith: each). "$NLS$ Missing required ini file setting for %1" | ||
+ | noError := false]]. | ||
+ | |||
+ | iniContent | ||
+ | at: ' | ||
+ | ifPresent: | ||
+ | at: ' | ||
+ | ifPresent: | ||
+ | at: ' | ||
+ | ifPresent: | ||
+ | |||
+ | noError ifFalse: [^self]. | ||
+ | |||
+ | self checkForNewLogger: | ||
+ | |||
+ | self checkForAsyncAppender: | ||
+ | |||
+ | self checkForTranscriptAppender: | ||
+ | |||
+ | self checkForConsoleAppender: | ||
+ | |||
+ | self checkForFileAppender: | ||
+ | |||
+ | self checkForRollingFileAppender: | ||
+ | |||
+ | self checkForDailyRollingFileAppender: | ||
+ | |||
+ | self checkForSocketAppender: | ||
+ | |||
+ | self checkForFilters: | ||
+ | |||
+ | EsLogLog error: ' | ||
+ | |||
+ | runParams := self checkForRunForeverParams: | ||
+ | |||
+ | runParams class = Association | ||
+ | ifTrue: [self class logEventsFor: | ||
+ | </ |