Skip to content

Feature request: Customizable log format #612

Description

@bbele-humanomed

Hi!

I find tinyproxy very helpful and it's a great project. I'm using it in alpine docker container. But I'm missing a feature. It would be awesome if the log format could be customized as it is the case for example by HAProxy or nginx.

The logging formatting is not the best imho and therefor my wishes would be as following:

Example lines:

CONNECT   May 19 12:02:58.509 [67]: Connect (file descriptor 4): 127.0.0.1
INFO      May 19 12:02:58.568 [67]: Not sending client headers to remote machine

Would like to have lines (or at least something like that):

[19/May/2026:12:02:58 +0000] tinyproxy[67]: CONNECT - Connect (file descriptor 4): 127.0.0.1
[19/May/2026:12:02:58 +0000] tinyproxy[67]: INFO - Not sending client headers to remote machine

I'm using tinyproxy from the alpine package repository version 1.11.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions