Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Log files not correct size when starting from hd.

    General pfSense Questions
    2
    2
    1792
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      duck7207 last edited by

      in start up it stands this:

      generate circular logfiles

      if [ ! "$PLATFORM" = "cdrom" ]; then
          clog -i -s 10000 /var/log/system.log
          clog -i -s 10000 /var/log/filter.log
          clog -i -s 10000 /var/log/dhcpd.log
          clog -i -s 10000 /var/log/vpn.log
          clog -i -s 10000 /var/log/portalauth.log
          clog -i -s 10000 /var/log/ipsec.log
          clog -i -s 10000 /var/log/slbd.log
      else
          clog -i -s 300144 /var/log/system.log
          clog -i -s 512144 /var/log/filter.log
          clog -i -s 32768 /var/log/dhcpd.log
          clog -i -s 32768 /var/log/vpn.log
          clog -i -s 32768 /var/log/portalauth.log
          clog -i -s 10000 /var/log/ipsec.log
          clog -i -s 262144 /var/log/slbd.log
      fi

      and i have installed it on a hd and still only have 10000 bytes log files and not the later ones.
      i dont have enabled: Disable writing log files to the local disk
      if im not mistaken so is this line wrong: if [ ! "$PLATFORM" = "cdrom" ]; then
      it should be: if [ "$PLATFORM" = "cdrom" ]; then

      I saw some more wrong lines like this in the startup. might wanna check it over again.

      im running: 1.0-BETA1-TESTING-SNAPSHOT-2-8-06

      1 Reply Last reply Reply Quote 0
      • S
        sullrich last edited by

        We use clog, thats the way its supposed to be.

        1 Reply Last reply Reply Quote 0
        • First post
          Last post

        Products

        • Platform Overview
        • TNSR
        • pfSense
        • Appliances

        Services

        • Training
        • Professional Services

        Support

        • Subscription Plans
        • Contact Support
        • Product Lifecycle
        • Documentation

        News

        • Media Coverage
        • Press
        • Events

        Resources

        • Blog
        • FAQ
        • Find a Partner
        • Resource Library
        • Security Information

        Company

        • About Us
        • Careers
        • Partners
        • Contact Us
        • Legal
        Our Mission

        We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

        Subscribe to our Newsletter

        Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

        © 2021 Rubicon Communications, LLC | Privacy Policy