VASmalltalk – log4s – multiple logger creation

As you might have discovered, you can only define ONE new logger within one section (of your ini file). Therefore this is possible:


and this is NOT possible:


to make the later possible you might change the framework code to:

EsLogManager>>checkForNewLogger: settings
  | values |
  (settings keys includes: 'createLogger') ifFalse: [^self].
  (values := self parseValue: (settings at: 'createLogger')) isEmpty
    ifTrue: [^EsLogLog error: MxESf13]. "$NLS$ Loggers must have a name"

  values do: [ :each | self class createLogger: each ]
This entry was posted in Smalltalk and tagged , , . Bookmark the permalink.

1 Response to VASmalltalk – log4s – multiple logger creation

  1. Pingback: VASmalltalk – log4s and its design failures | Schrievkrom

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.