turn off the logging?

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

gregee123
Just popping in
Just popping in
Posts: 17
Joined: Sun Oct 21, 2012 23:50

turn off the logging?

Postby gregee123 » Fri Oct 26, 2012 10:08

How do I turn the logging off? Is there a simpler way other than to subclass the logger with some null logger implementation?

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: turn off the logging?

Postby Kulik » Fri Oct 26, 2012 11:35

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.

gregee123
Just popping in
Just popping in
Posts: 17
Joined: Sun Oct 21, 2012 23:50

Re: turn off the logging?

Postby gregee123 » Mon Oct 29, 2012 10:55

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.

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: turn off the logging?

Postby Kulik » Mon Oct 29, 2012 12:03

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.

gregee123
Just popping in
Just popping in
Posts: 17
Joined: Sun Oct 21, 2012 23:50

Re: turn off the logging?

Postby gregee123 » Mon Oct 29, 2012 17:34

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 ).


Return to “Help”

Who is online

Users browsing this forum: No registered users and 12 guests