... or better still just extend that CFC to implement your own logger
(and override the logMessage method). Just specify the extended
appender in your coldbox config and you're done. You could even make
it look at a coldbox setting to decide on the date mask if you were
feeling creative.
Oobi, for what it’s worth, that is not all necessary to customize the logging layout-- you don’t need to sub-class the appender itself. Create a layout cfc which extends coldbox.system.logging.layout and override the “format” method. It receives the logEvent object and you can return whatever string you want which will be what is actually logged in the file.
Then specify that layout in your config. (This means you can use different layouts for the same appender if you declare it multiple times.
Grit size refers to the size of the particles of abrading materials embedded in sandpaper. 40-grit sandpaper falls in the “coarse” classification for “rapid removal of material”. http://en.wikipedia.org/wiki/Sandpaper#Grit_sizes
Your E-mail was abrasive and rapidly removed my desire to help you.
Oh Brad, what are you saying you don’t like to be referred to as living in the past?
And how is it abrasive, you Americans get so stuck up when someone points out to you that you are not the center of the universe, and that other countries have different formats.
So what I asked for is just a setting that I can say
And the system will know that I want the date formatted in Federation time. Maybe a bit harsh to expect ColdBox to know how to deal with that date and time format, but the point is that it is a simple request that is very desirable, to all of us who actually live outside of the USA.
I think your request is an exellent idea. I’m just encouraging you to work on your delivery.
I assume you participate in this forum because want help/input with ColdBox. Luckily I’m not offended easily so I just chuckled at your E-mail. However, in general, you’ll probably get better responses when you don’t start out by insulting everyone. You can catch more flies with honey than with vinegar…