-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having the possibility to set the log output folder #1344
Comments
@jan-dh thanks for reporting! This needs to be converted to use a real logger instead of explicitly logging to a file. That will give you the opportunity to direct it wherever you like. I'll work on getting this implemented, stay tuned! |
Similar question. We're using FeedMe in production for hourly imports from an ERP and I'm worried about those log files growing to epic sizes without manually deleting old logs… |
Thanks for the bump, @markhuot. Still on my radar! |
@jan-dh, @markhuot with #1462, I've converted the homegrown logging to a real Yii Log Target with a custom category. With that PR, logs will be persisted to the database by default. Since it is a normal log target, if you want them as files, or anywhere, you can add a log target to you Give it a spin with |
Merged and will be included in the next Feed Me 5 and 6 releases. |
Description
In a cloud/containerised env. you often don't have the option to store logs directly on the server. Right now the path to save login files is hardcoded in the plugin:
Would love to have the ability to set this to an external service etc. or piggy back making the
getLogPath()
to be set as a config somewhere in Craft CMS.The text was updated successfully, but these errors were encountered: