any ideas to reduce log file size or make log file size managed?

This is a discussion on any ideas to reduce log file size or make log file size managed? within the C Programming forums, part of the General Programming Boards category; Hello everyone, I found the log file size is becoming larger and larger. Any ideas to reduce the file size ...

  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    1,579

    any ideas to reduce log file size or make log file size managed?

    Hello everyone,


    I found the log file size is becoming larger and larger. Any ideas to reduce the file size or make log file size managed, for example, keep the log file be fixed size or some other policies? Any reference tutorials or open source samples to recommend?


    thanks in advance,
    George

  2. #2
    pwns nooblars
    Join Date
    Oct 2005
    Location
    Portland, Or
    Posts
    1,094
    log for what, and what OS?

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    1,579
    Thank you Wraithan,


    Quote Originally Posted by Wraithan
    log for what, and what OS?
    Normal log for application data, like what operation has performed and what return value of a function. Windows or Linux is ok.

    Any comments?


    regards,
    George

  4. #4
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,540
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Post...
    By maxorator in forum C++ Programming
    Replies: 12
    Last Post: 10-11-2005, 08:39 AM
  2. Dikumud
    By maxorator in forum C++ Programming
    Replies: 1
    Last Post: 10-01-2005, 06:39 AM
  3. Batch file programming
    By year2038bug in forum Tech Board
    Replies: 10
    Last Post: 09-05-2005, 03:30 PM
  4. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM
  5. simulate Grep command in Unix using C
    By laxmi in forum C Programming
    Replies: 6
    Last Post: 05-10-2002, 04:10 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21