Git Product home page Git Product logo

Comments (2)

MachLearnPort avatar MachLearnPort commented on May 17, 2024 2

Ahhhhh, I miss understood that, my apologies. Also, thank you for the fast response. Cheers!

from flog.

mingrammer avatar mingrammer commented on May 17, 2024

Hello,

In flog, the sleep function does not actually sleep every log generation, but only sets the interval of generation time between logs to be generated.

So, if you run flog -t gz -o log.gz -n 3000 -s 10, it will immediately generate a log file which has following logs for example.

...
68.140.112.91 - Stark2041 377 [2018-08-29T10:05:23+09:00] "DELETE /syndicate/interactive" 406 20676
50.11.46.218 - Rau3340 627 [2018-08-29T10:05:33+09:00] "DELETE /integrate/infomediaries" 100 3541
71.151.12.150 - Crist7675 658 [2018-08-29T10:05:43+09:00] "PUT /aggregate/back-end" 501 12070
196.226.112.172 - Pouros6637 175 [2018-08-29T10:05:53+09:00] "PUT /monetize/transparent/end-to-end/evolve" 304 2162
71.214.233.106 - Williamson7465 738 [2018-08-29T10:06:03+09:00] "POST /functionalities/e-enable/exploit" 400 21112
120.205.58.46 - Cronin1702 188 [2018-08-29T10:06:13+09:00] "POST /strategize/schemas/magnetic/intuitive" 406 8595
...

Each generation times in above logs are:

...
2018-08-29T10:05:23+09:00
2018-08-29T10:05:33+09:00
2018-08-29T10:05:43+09:00
2018-08-29T10:05:53+09:00
...

Yes, It does not update the log file every 10 seconds, but just creates a log file immediately.

from flog.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.