View unanswered posts | View active topics It is currently Tue Jan 23, 2018 6:05 am



Reply to topic  [ 11 posts ]  Go to page 1, 2  Next
 Dated log files for ALL items. 
Author Message
Member

Joined: Wed Feb 16, 2011 7:08 pm
Posts: 48
Medals: 32
RadioBot Owner (1) Feature Requester (15)
Helper (1) Longevity (11)
Bug Reporter (4)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Dated log files for ALL items.
As the title implies I would like to see a date added to more log files than just the mIRC logs, this would increase the size of space necessary, but you could purge them like the backups. I.e. Have an ircbot.9.21.2011.log or something to that effect.


Wed Sep 21, 2011 5:09 pm
Profile
Member

Joined: Wed Feb 16, 2011 7:08 pm
Posts: 48
Medals: 32
RadioBot Owner (1) Feature Requester (15)
Helper (1) Longevity (11)
Bug Reporter (4)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Re: Dated log files for ALL items.
Or, the ABILITY of such, not really wanting it as default.


Wed Sep 21, 2011 6:20 pm
Profile
Member

Joined: Wed Feb 16, 2011 7:08 pm
Posts: 48
Medals: 32
RadioBot Owner (1) Feature Requester (15)
Helper (1) Longevity (11)
Bug Reporter (4)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Re: Dated log files for ALL items.
The method to my madness is a lot of the log files just get overwritten, if errors happen and you restart the bot the old error log goes kaput, you've got nothing to go by.


Wed Sep 21, 2011 11:57 pm
Profile
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 18
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (14)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Dated log files for ALL items.
The old log would be in your backups folder still, it's backed up just like the conf/db/etc.

_________________
You can also contact me via email or instant messenger, links are at the bottom of this post.


Thu Sep 22, 2011 1:10 am
Profile YIM WWW
Member

Joined: Wed Feb 16, 2011 7:08 pm
Posts: 48
Medals: 32
RadioBot Owner (1) Feature Requester (15)
Helper (1) Longevity (11)
Bug Reporter (4)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Re: Dated log files for ALL items.
Well then, with that said...could you take the datestamp out of the irc channel logs and create backups of them in the backups folder? (if this isn't done already.) I am aware the backups folder would take yet another boulder but it would surely make that folder cleaner (in my opinion).


Thu Sep 22, 2011 1:24 am
Profile
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 18
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (14)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Dated log files for ALL items.
The Logging plugin's logs? They never get deleted because most people who keep logs do it for stats programs (mircstats, pisg, etc.) that needs logs going all the way back.

_________________
You can also contact me via email or instant messenger, links are at the bottom of this post.


Thu Sep 22, 2011 1:34 am
Profile YIM WWW
Member

Joined: Wed Feb 16, 2011 7:08 pm
Posts: 48
Medals: 32
RadioBot Owner (1) Feature Requester (15)
Helper (1) Longevity (11)
Bug Reporter (4)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Re: Dated log files for ALL items.
I have used mircstats, and as a suggestion it's easier for that stat system if the file just be continuous, no need to chop it day by day. I see now your reasoning (mostly) but to be honest you've actually INCREASED the work of the stats programs. As a suggestion, you should either let it have a continuous log, or a split one (an option I mean in config.) (I smell a long overdue feature request.)


Thu Sep 22, 2011 1:45 am
Profile
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 18
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (14)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Dated log files for ALL items.
Many stats programs (pisg for sure, not sure about mircstats as I haven't used it in many years) cache the data from split/dated files, so they have to do less work if the old files haven't been changed.

Edit: of course some of them also keep a pointer to the last processed line of logs as well, just having them split is more compatible with more programs.

_________________
You can also contact me via email or instant messenger, links are at the bottom of this post.


Thu Sep 22, 2011 1:49 am
Profile YIM WWW
Member

Joined: Wed Feb 16, 2011 7:08 pm
Posts: 48
Medals: 32
RadioBot Owner (1) Feature Requester (15)
Helper (1) Longevity (11)
Bug Reporter (4)
IRCBot Version I Use: v5
IRCBot Platform: Windows
Post Re: Dated log files for ALL items.
So...realistically, it wouldn't hurt either way the format was made....more files to load to pisg thus more backup files.(your way) or 1 file that is auto backed up to backups and overwritten as necessary (my way). Making sense that this is starting to look weird yet? Notepad and all other text editors have a find feature so realistically if you're looking for a certain date, you can. If you're wondering, yes I am trying to find some sort of happy medium between two people that are firm in their decisions.


Thu Sep 22, 2011 2:06 am
Profile
Site Admin
User avatar

Joined: Thu Oct 16, 2008 1:58 pm
Posts: 448
Medals: 18
Administrator (1) Plugin Developer (1)
RadioBot Owner (1) Helper (1)
Longevity (14)
IRCBot Version I Use: v5
IRCBot Platform: Linux/Ubuntu
Post Re: Dated log files for ALL items.
I just try to keep things most compatible with most programs, I should be able to add an option to make it just append to one long file (per channel) easy enough.

_________________
You can also contact me via email or instant messenger, links are at the bottom of this post.


Thu Sep 22, 2011 2:10 am
Profile YIM WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ]  Go to page 1, 2  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.