If that assignment is wrapped with an if block checking if it's not already set, everything appears to work properly and you can define a different path for logs.
Is there a reason the log path is hard-coded? It may be useful to allow users the ability to change this location.
Right now logs are all going to
{fuge.env directory}/log
as per : https://github.com/apparatus/fuge/blob/v2.0.0/util.js#L27-L31The strange thing is, this path is always used to overwrite what may have been defined in
fuge.yml
: https://github.com/apparatus/fuge/blob/v2.0.0/util.js#L43If that assignment is wrapped with an
if
block checking if it's not already set, everything appears to work properly and you can define a different path for logs.Is there a reason the log path is hard-coded? It may be useful to allow users the ability to change this location.