firebird icon indicating copy to clipboard operation
firebird copied to clipboard

allow firebird.log location to be set from config or environment variable

Open hmoffatt opened this issue 1 year ago • 1 comments

It would be helpful to be able to configure the location of firebird.log from an environment variable, or from the config file, or both. Currently it can only be configured at compile time.

My use case: we ship Firebird as the embedded database in our application. The files are installed in \Program Files which is not writable by the users running the application, so no logging is possible. We'd like to set it via environment variable to a path in the user's profile which will be writable.

hmoffatt avatar Sep 09 '24 04:09 hmoffatt

This would be nice, never thought about it in our embedded installations.

Some "macros" would be cool, that could have sonething like this (on windows, linux something different)

LogLocation=%AppData%\MyApp\Logs\Firebird

Or something like that...

TommiPrami avatar Sep 09 '24 08:09 TommiPrami