Click here to Skip to main content
15,890,438 members
Home / Discussions / C#
   

C#

 
GeneralRe: Limit size of text file (LIFO) Pin
Mycroft Holmes18-Aug-09 18:03
professionalMycroft Holmes18-Aug-09 18:03 
AnswerRe: Limit size of text file (LIFO) Pin
N a v a n e e t h18-Aug-09 18:35
N a v a n e e t h18-Aug-09 18:35 
GeneralRe: Limit size of text file (LIFO) Pin
Maddie from Dartford18-Aug-09 19:07
Maddie from Dartford18-Aug-09 19:07 
GeneralRe: Limit size of text file (LIFO) Pin
Saksida Bojan18-Aug-09 20:49
Saksida Bojan18-Aug-09 20:49 
GeneralRe: Limit size of text file (LIFO) Pin
N a v a n e e t h18-Aug-09 20:54
N a v a n e e t h18-Aug-09 20:54 
AnswerRe: Limit size of text file (LIFO) Pin
kb-boxer18-Aug-09 20:14
kb-boxer18-Aug-09 20:14 
AnswerRe: Limit size of text file (LIFO) Pin
Vikram A Punathambekar18-Aug-09 20:42
Vikram A Punathambekar18-Aug-09 20:42 
AnswerRe: Limit size of text file (LIFO) Pin
benjymous18-Aug-09 22:55
benjymous18-Aug-09 22:55 
In the unix world, there's a tool called logrotate, which basically loops over all your log files, removes the older lines, and backs them up in an archive - something like that would be relatively trivial to write in c#, and would keep the complexity out of your logging code. The only thing you'd have to be careful of, would be file lock clashes when both the logging tool and the rotate tool try to access the log at the same time

Help me! I'm turning into a grapefruit!
Buzzwords!


GeneralRe: Limit size of text file (LIFO) Pin
Maddie from Dartford19-Aug-09 1:40
Maddie from Dartford19-Aug-09 1:40 
Questionc# Compile an application... Pin
JollyMansArt18-Aug-09 16:42
JollyMansArt18-Aug-09 16:42 
AnswerRe: c# Compile an application... Pin
Christian Graus18-Aug-09 17:13
protectorChristian Graus18-Aug-09 17:13 
AnswerRe: c# Compile an application... Pin
Not Active18-Aug-09 17:17
mentorNot Active18-Aug-09 17:17 
QuestionHow to use timer control in c# Pin
sumikoshy18-Aug-09 16:14
sumikoshy18-Aug-09 16:14 
AnswerRe: How to use timer control in c# Pin
Tr@v18-Aug-09 16:27
Tr@v18-Aug-09 16:27 
AnswerRe: How to use timer control in c# Pin
Xmen Real 18-Aug-09 16:42
professional Xmen Real 18-Aug-09 16:42 
QuestionHelp reg Syste.diagnostic.EventLog Pin
rashmimansur18-Aug-09 14:04
rashmimansur18-Aug-09 14:04 
QuestionI need a quick fix. I need a way to access the domain's username list from the active directory.... [modified] Pin
JollyMansArt18-Aug-09 11:29
JollyMansArt18-Aug-09 11:29 
AnswerRe: I need a quick fix. I need a way to access the domain's username list from the active directory.... Pin
JollyMansArt18-Aug-09 16:36
JollyMansArt18-Aug-09 16:36 
GeneralRe: I need a quick fix. I need a way to access the domain's username list from the active directory.... Pin
JollyMansArt19-Aug-09 3:02
JollyMansArt19-Aug-09 3:02 
QuestionVS 2005 PropertyGrid do not refresh on ToolStripControlHost inherited items Pin
Xmen Real 18-Aug-09 8:48
professional Xmen Real 18-Aug-09 8:48 
Questionfile sending Pin
Vivek Vijayan18-Aug-09 8:14
Vivek Vijayan18-Aug-09 8:14 
AnswerRe: file sending Pin
Xmen Real 18-Aug-09 8:57
professional Xmen Real 18-Aug-09 8:57 
AnswerRe: file sending Pin
Ian Shlasko18-Aug-09 9:00
Ian Shlasko18-Aug-09 9:00 
AnswerRe: file sending Pin
N a v a n e e t h18-Aug-09 15:39
N a v a n e e t h18-Aug-09 15:39 
AnswerRe: file sending Pin
Rajesh R Subramanian18-Aug-09 17:41
professionalRajesh R Subramanian18-Aug-09 17:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.