Skip to content
This repository was archived by the owner on Jun 1, 2023. It is now read-only.
This repository was archived by the owner on Jun 1, 2023. It is now read-only.

No space left on device - reduce logger level #67

@bew

Description

@bew

I usually work with large files (300-400 lines), and the logging file can become very big and take all the space available in /tmp (which is a tmpfs on my system, so it lives in the ram).

A sample list of scry's log files:

-rw-------  1 lesell_b users  3.1G Mar 21 20:25 scry.out.27K0Q6
-rw-------  1 lesell_b users  1.1M Mar 21 17:24 scry.out.DJW0Dc
-rw-------  1 lesell_b users 1014K Mar 21 17:22 scry.out.KqqV1g
-rw-------  1 lesell_b users  6.8M Mar 21 23:31 scry.out.lyxMHz
-rw-------  1 lesell_b users 1014K Mar 21 17:23 scry.out.M8PRUt
-rw-------  1 lesell_b users 1013K Mar 21 17:22 scry.out.TShzqU
-rw-------  1 lesell_b users 1014K Mar 21 17:21 scry.out.VkHbyS
-rw-------  1 lesell_b users  845M Mar 21 23:27 scry.out.XTtliD
-rw-------  1 lesell_b users 1020K Mar 21 17:21 scry.out.ZtJysi

I suggest to at least disable the logging of every request/response unless the --debug flag is given to scry, this will reduce the size of log files significantly I think.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions