turn off the logging?
Moderators: CEGUI MVP, CEGUI Team
turn off the logging?
How do I turn the logging off? Is there a simpler way other than to subclass the logger with some null logger implementation?
Re: turn off the logging?
No simpler way AFAIK. personal opinion: You always want logging. How are you going to do support for your users with no logs?
Kind of ironic that you refuse to paste CEGUI.log for this question. Even though the logging system is the same at least in 0.6 and 0.7, having version info would still be appreciated.
Kind of ironic that you refuse to paste CEGUI.log for this question. Even though the logging system is the same at least in 0.6 and 0.7, having version info would still be appreciated.
Re: turn off the logging?
Kulik wrote:How are you going to do support for your users with no logs?
My answer to this question is rather obvious: Have you ever come across a professionally written app that needs to have it's GUI operations logged ? Wouldn't that indicate the devs aren't confident that their GUI layer is stable enough to be released ? Why would anyone release their app if they aren't absolutely sure that even the GUI is working fine in all the possible environments ? To cut the story short: there ARE some types of operations that should be logged even in RTM versions of the software but GUI operations shouldn't be any of them. If you disagree please support you argument with at least one example of a professionally written app logging whatever its GUI is doing.
Re: turn off the logging?
I have come across a lot of people claiming they know how to judge what professional software is. They were wrong many times I see professional software as something making money.
Gtk logs errors and spits them out into stderr and (if needed) elsewhere. Qt does a similar thing, you can alter the behavior using environment variables.
The notion of having something that is tested and "perfect enough" that there will be no issues is just naive and will never work. Software is complex, it is always broken. You always want to know what breaks in which circumstances and fix that. You want as much info as you can get when an error happens.
PS: I don't deal with much "RTM" software. Most of my work is open source, my platform of choice is GNU/Linux. The only RTM software I work on is Fedora for their release CDs. These definitely have issues and all sorts of things are logged including what you might call GUI operations.
Gtk logs errors and spits them out into stderr and (if needed) elsewhere. Qt does a similar thing, you can alter the behavior using environment variables.
The notion of having something that is tested and "perfect enough" that there will be no issues is just naive and will never work. Software is complex, it is always broken. You always want to know what breaks in which circumstances and fix that. You want as much info as you can get when an error happens.
PS: I don't deal with much "RTM" software. Most of my work is open source, my platform of choice is GNU/Linux. The only RTM software I work on is Fedora for their release CDs. These definitely have issues and all sorts of things are logged including what you might call GUI operations.
Re: turn off the logging?
OK. I got the answer I wanted and I don't feel the need to start a discussion about differences between professional software and GNU/Linux (and that's coming from a guy who spent quite a few years on debian then gentoo then ubuntu ).
Who is online
Users browsing this forum: No registered users and 20 guests