View Single Post
  #7  
Old 05-24-2012, 10:47 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Stephen View Post
wouldn't SQL logs solve this?
Yes, but they come with additional problems. Logging is not a major problem on Era so I am not really that interested in redoing the entire system, even though it would benefit.

Quote:
Originally Posted by Emera View Post
PHP Code:
if (temp.linecount >= MAXLINES) {
  
temp.logsave++;
}
savelog2("whatever_"@temp.logsave@".txt"temp.logsave); 
Wouldn't that be a solution?
Yes, but I'd like it to gzip and eventually delete old logs as well so that staff don't have to do this.
__________________
Reply With Quote