Improving game logging

An area for discussing new ideas and additions to Oolite.

Moderators: winston, another_commander

Post Reply
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Improving game logging

Post by Diziet Sma »

A recent case of missed opportunity here reminded me of something I'd been meaning to suggest for a while.

There are regular instances where logs recording difficult-to-reproduce errors aren't available, because the player has inadvertently wiped out the log by having re-run the game 2 or more times since the problem manifested. Indeed, I'm sure most of us here have at some point wished we had access to a logfile that no longer exists. I've even considered writing a bash-script that would auto-run just prior to launching Oolite that would back up both currently existing logs to a sub-folder. In fact, I think I will do so, to address the shortcomings of the logging on 1.76.1.

Please consider extending the log-rotation system so that (say) the last dozen or even 20 game-logs are retained, instead of the most recent two logs only.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
User avatar
Cmd. Cheyd
---- E L I T E ----
---- E L I T E ----
Posts: 934
Joined: Tue Dec 16, 2008 2:52 pm
Location: Deep Horizon Industries Manufacturing & Research Site somewhere in G8...

Re: Improving game logging

Post by Cmd. Cheyd »

For release builds, I think 2 is fine. But for the development builds, I can see the merit.
User avatar
Diziet Sma
---- E L I T E ----
---- E L I T E ----
Posts: 6312
Joined: Mon Apr 06, 2009 12:20 pm
Location: Aboard the Pitviper S.E. "Blackwidow"

Re: Improving game logging

Post by Diziet Sma »

I'd up it even for release builds.. it would make tracking down OXP bugs easier.
Most games have some sort of paddling-pool-and-water-wings beginning to ease you in: Oolite takes the rather more Darwinian approach of heaving you straight into the ocean, often with a brick or two in your pockets for luck. ~ Disembodied
Post Reply