Skip to content

ibajaj3009/gen-logs-python3

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gen-logs-python3

This is to simulate web application writing traffic details to log file.

  • It has shell scripts which invoke python program
  • It is compatible with Python 3

Here is the setup process on linux or mac or on cygwin.

  • Identify directory /opt/
  • Copy gen_logs directory to /opt - sudo mv -f gen-logs-python3/gen_logs /opt
  • Run sudo chown -R `whoami` /opt/gen_logs
  • Update PATH in .profile or .bash_profile or create soft links for the shell programs - export PATH=$PATH:/opt/gen_logs
  • Either restart shell or run .profile/.bash_profile script
  • Run start_logs.sh to start generating web logs
  • Run tail_logs.sh to preview while logs are being generated (Hit ctrl-c to come out)
  • Run stop_logs.sh to stop generating web logs

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 95.8%
  • Shell 4.2%