Advertisement
Guest User

Untitled

a guest
Nov 30th, 2021
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.13 KB | None | 0 0
  1. /home/sincorchetes/hola.log {
  2. compress
  3. delaycompress
  4. rotate 3
  5. daily
  6. missingok
  7. }
  8.  
  9.  
  10. root@sincorchetes # logrotate -fd /etc/logrotate.d/mine
  11. reading config file /etc/logrotate.d/mine
  12. Reading state from file: /var/lib/logrotate/status
  13. Allocating hash table for state file, size 64 entries
  14. Creating new state
  15. Creating new state
  16. Creating new state
  17. Creating new state
  18. Creating new state
  19. Creating new state
  20. Creating new state
  21. Creating new state
  22. Creating new state
  23. Creating new state
  24. Creating new state
  25. Creating new state
  26. Creating new state
  27. Creating new state
  28. Creating new state
  29. Creating new state
  30. Creating new state
  31. Creating new state
  32. Creating new state
  33. Creating new state
  34. Creating new state
  35. Creating new state
  36. Creating new state
  37. Creating new state
  38. Creating new state
  39. Creating new state
  40. Creating new state
  41. Creating new state
  42.  
  43. Handling 1 logs
  44.  
  45. reading config file /etc/logrotate.d/mine
  46. Reading state from file: /var/lib/logrotate/status
  47. Allocating hash table for state file, size 64 entries
  48.  
  49. Creating new state
  50.  
  51. Handling 1 logs
  52.  
  53. rotating pattern: /home/sincorchetes/hola.log forced from command line (3 rotations)
  54. empty log files are rotated, old logs are removed
  55. considering log /home/sincorchetes/hola.log
  56. Creating new state
  57. Now: 2021-11-30 19:34
  58. Last rotated at 2021-11-30 19:00
  59. log needs rotating
  60. rotating log /home/sincorchetes/hola.log, log->rotateCount is 3
  61. dateext suffix '-20211130'
  62. glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]'
  63. previous log /home/sincorchetes/hola.log.1 does not exist
  64. renaming /home/sincorchetes/hola.log.3.gz to /home/sincorchetes/hola.log.4.gz (rotatecount 3, logstart 1, i 3),
  65. renaming /home/sincorchetes/hola.log.2.gz to /home/sincorchetes/hola.log.3.gz (rotatecount 3, logstart 1, i 2),
  66. renaming /home/sincorchetes/hola.log.1.gz to /home/sincorchetes/hola.log.2.gz (rotatecount 3, logstart 1, i 1),
  67. renaming /home/sincorchetes/hola.log.0.gz to /home/sincorchetes/hola.log.1.gz (rotatecount 3, logstart 1, i 0),
  68. log /home/sincorchetes/hola.log.4.gz doesn't exist -- won't try to dispose of it
  69. renaming /home/sincorchetes/hola.log to /home/sincorchetes/hola.log.1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement