我在我的应用程序中使用glog,它部署在一个docker容器中,它创建了数百个小文件,我想知道为什么以及如何阻止它。以下是我的目录列表的一小部分示例。
-rw-r--r--. 1 urbncat urbncat 20 Jun 27 18:40 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498582862.gz-1498590064.gz-1498608095.gz
-rw-r--r--. 1 urbncat urbncat 20 Jun 27 20:14 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498582862.gz-1498590064.gz-1498611709.gz
-rw-r--r--. 1 urbncat urbncat 0 Jun 27 23:34 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498586462.gz-1498593665.gz
-rw-r--r--. 1 urbncat urbncat 20 Jun 27 18:40 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498586462.gz-1498593665.gz-1498604479.gz
-rw-r--r--. 1 urbncat urbncat 20 Jun 27 18:40 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498586462.gz-1498593665.gz-1498608095.gz
-rw-r--r--. 1 urbncat urbncat 20 Jun 27 20:14 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498586462.gz-1498593665.gz-1498611709.gz
-rw-r--r--. 1 urbncat urbncat 0 Jun 27 23:34 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498590064.gz-1498597268.gz
-rw-r--r--. 1 urbncat urbncat 54 Jun 27 14:04 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498590064.gz-1498597268.gz-1498604479.gz
-rw-r--r--. 1 urbncat urbncat 20 Jun 27 14:04 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498590064.gz-1498597268.gz-1498608095.gz
-rw-r--r--. 1 urbncat urbncat 20 Jun 27 20:14 InventoryProcessor.32c423b6e305.urbncat.log.INFO.20170626-134018.246-1498528861.gz-1498536061.gz-1498546861.gz-1498550462.gz-1498590064.gz-1498597268.gz-1498611709.gz