Skip to content

Instantly share code, notes, and snippets.

@nmattam
Created February 18, 2016 19:42
Show Gist options
  • Save nmattam/0f7b52f5943376d63c0b to your computer and use it in GitHub Desktop.
Save nmattam/0f7b52f5943376d63c0b to your computer and use it in GitHub Desktop.
13:38:23 $ ls -l /var/log/opscode/nginx/
total 1005728
-rw-r--r-- 1 opscode opscode 43407863 Feb 18 13:36 access.log
-rw-r--r-- 1 opscode opscode 105030831 Feb 8 00:33 access.log.1
-rw-r--r-- 1 opscode opscode 6355971 Jan 12 14:53 access.log.2.gz
-rw-r--r-- 1 opscode opscode 6491956 Nov 9 10:58 access.log.3.gz
-rw-r--r-- 1 opscode opscode 6339453 Sep 9 11:52 access.log.4.gz
-rw-r--r-- 1 opscode opscode 1 Feb 18 13:38 access-port-80.log
-rw-r--r-- 1 opscode opscode 421891110 Feb 18 13:38 access-port-80.log.1
-rw-r--r-- 1 opscode opscode 65467774 Feb 8 01:01 access-port-80.log.2.gz
# After a second, size of access-port-80.log.1 increased because logs are being written into this rotated file.
13:38:24 $ ls -l /var/log/opscode/nginx/
total 1005732
-rw-r--r-- 1 opscode opscode 43407863 Feb 18 13:36 access.log
-rw-r--r-- 1 opscode opscode 105030831 Feb 8 00:33 access.log.1
-rw-r--r-- 1 opscode opscode 6355971 Jan 12 14:53 access.log.2.gz
-rw-r--r-- 1 opscode opscode 6491956 Nov 9 10:58 access.log.3.gz
-rw-r--r-- 1 opscode opscode 6339453 Sep 9 11:52 access.log.4.gz
-rw-r--r-- 1 opscode opscode 1 Feb 18 13:38 access-port-80.log
-rw-r--r-- 1 opscode opscode 421892171 Feb 18 13:38 access-port-80.log.1
-rw-r--r-- 1 opscode opscode 65467774 Feb 8 01:01 access-port-80.log.2.gz
-rw-r--r-- 1 opscode opscode 99558972 Jan 12 15:01 access-port-80.log.3.gz
-rw-r--r-- 1 opscode opscode 62651645 Sep 9 12:00 access-port-80.log.6.gz
-rw-r--r-- 1 opscode opscode 9026853 Jul 6 2015 access-port-80.log.7.gz
-rw-r--r-- 1 opscode opscode 19569190 Jun 24 2015 access-port-80.log.8.gz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment