Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 344
- Log:
Massive changeset which brings the old, ROOL customised Instiki
version up to date, but without any ROOL customisations in this
latest checked-in version (which is 0.19.1). This is deliberate,
so that it's easy to see the changes made for the ROOL version
in a subsequent changeset. The 'app/views/shared' directory is not
part of Instiki but is kept to maintain the change history with
updated ROOL customisations, some of which involve the same files
in that same directory.
- Author:
- rool
- Date:
- Sat Mar 19 19:52:13 +0000 2011
- Size:
- 539 Bytes
1 | class Logger |
2 | class LogDevice |
3 | |
4 | private |
5 | def shift_log_age |
6 | #For Passenger, restart the server when rotating log files. |
7 | FileUtils.touch Rails.root.join("tmp", "restart.txt") if defined?(PhusionPassenger) |
8 | (@shift_age-3).downto(0) do |i| |
9 | if FileTest.exist?("#{@filename}.#{i}") |
10 | File.rename("#{@filename}.#{i}", "#{@filename}.#{i+1}") |
11 | end |
12 | end |
13 | @dev.close |
14 | File.rename("#{@filename}", "#{@filename}.0") |
15 | @dev = create_logfile(@filename) |
16 | return true |
17 | end |
18 | |
19 | end |
20 | end |