I have tried to setup logrotate.
I would like 1 1121.log per day. To monitor number of
disconnection/connection following some change of wifi parameters.

Here is my config file of logrotate:

Code:
--------------------
    guillaume@htpc-arctic:~$ cat /etc/logrotate.d/wlanpoke 
  /home/guillaume/wlanpoke/1121.log {
  daily
  rotate 31
  create 644 guillaume guillaume
  }
--------------------


Indeed rotating is happening

Code:
--------------------
    guillaume@htpc-arctic:~/wlanpoke$ ll
  total 55460
  drwxrwxr-x  2 guillaume guillaume     4096 Dec  1 00:08 ./
  drwxr-xr-x 70 guillaume guillaume     4096 Dec  1 01:00 ../
  -rw-r--r--  1 guillaume guillaume        0 Dec  1 00:08 1121.log
  -rw-rw-r--  1 guillaume guillaume 56776086 Dec  1 07:37 1121.log.1
--------------------

but logs are still logged into the initial file (here 1121.log.1) and
not the new one.

I should be able to ask nc to move to this new created file. Do you know
how to do it?


------------------------------------------------------------------------
castor_fou's Profile: http://forums.slimdevices.com/member.php?userid=67321
View this thread: http://forums.slimdevices.com/showthread.php?t=97791

_______________________________________________
Radio mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/radio

Reply via email to