1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Clearing log files

Discussion in 'HD/HDR-FOX T2 Customised Firmware' started by Seabee, Mar 21, 2012.

  1. Seabee

    Seabee Member

    This is probably a dumb question but how do you clear log files when they are too big for the file editor? My rs.log is now 994MB.
  2. Black Hole

    Black Hole Theloniuos Abbot

    ...and also starting to use up a significant proportion of your disk space!
  3. Seabee

    Seabee Member

    This appeared to work: Telnet into box, navigate to tmp directory and "rm rs.log"
  4. af123

    af123 Administrator Staff Member

    I'll add automatic log file management to the package to stop it getting too big.
    brian likes this.
  5. xyz321

    xyz321 Well-Known Member

    I am slightly baffled as to how it could get that big:confused: . With no swap space it only has 128MiB of memory and most of that will be in use.
  6. af123

    af123 Administrator Staff Member

    It's in /mod/tmp/ so on the disk.
  7. af123

    af123 Administrator Staff Member

    The latest version of the rs package will truncate the log if it reaches 10MiB.