View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003704 | unreal | ircd | public | 2008-06-18 12:43 | 2008-06-18 14:18 |
Reporter | Turbo_boy | Assigned To | |||
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | no change required | ||
OS | Linux | OS Version | 2.6.18-5-amd64 | ||
Product Version | 3.2.7 | ||||
Summary | 0003704: Dated log file | ||||
Description | Hello there, I entered it already on the forum but I sow that requests should go in here. What I should like to have that logs a made with a date in it, so that every day has a new log file in the format like: irc.log.yyyymmdd or something similar. I think this doesn't take much time to fix (I guess). | ||||
Tags | No tags attached. | ||||
3rd party modules | |||||
|
This has been discussed many times in the past, and is exactly what crontab should be used for. Just add this to your cron script: @midnight mv $HOME/Unreal/ircd.log $HOME/Unreal/ircd.$(date '+%Y-%m-%d').log If you are on Windows, there are methods to use the "Scheduled Tasks" feature and a rather basic BAT file or perl script (yes, you can easily get perl on Windows). |
Date Modified | Username | Field | Change |
---|---|---|---|
2008-06-18 12:43 | Turbo_boy | New Issue | |
2008-06-18 14:17 | Stealth | QA | => Not touched yet by developer |
2008-06-18 14:17 | Stealth | U4: Need for upstream patch | => No need for upstream InspIRCd patch |
2008-06-18 14:17 | Stealth | Status | new => closed |
2008-06-18 14:17 | Stealth | Note Added: 0015306 | |
2008-06-18 14:17 | Stealth | Resolution | open => no change required |
2008-06-18 14:18 | Stealth | Relationship added | duplicate of 0003623 |
2008-06-18 21:04 | Stealth | Relationship added | related to 0003706 |