Tectu / malloy

A cross-platform C++20 library providing embeddable server & client components for HTTP and WebSocket.
BSD 3-Clause "New" or "Revised" License
66 stars 8 forks source link

Splitting log - Separate log for access logging #77

Closed Tectu closed 2 years ago

Tectu commented 3 years ago

I think it's a good idea to split up the log into two separate log interfaces: One for access logging and one for everything else.

Applications consuming 'malloy' will typically have the overall "system logger" for reporting any sort of system relevant information but might still want (or need) logging for access information (eg. logging each request received). Currently everything ends up in the same log file which is rather cumbersome to work with in a larger application.

Tectu commented 3 years ago

@0x00002a Shall we get this into v0.1? What do you think?

I kinda think that now would be a good time to release v0.1 tho. Could do this for v0.2.

0x00002a commented 3 years ago

I personally don't have a huge amount of use for it currently, so I vote for leaving it for later :p