-
Notifications
You must be signed in to change notification settings - Fork 138
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
feature request: structured (json) logs to stdout, disable writing to a file system #548
Comments
hi !@yohamta I want to know , for the log server is HTTP server ? For that we need to report logs to the HTTP server instead of writing log files. What do you think? |
Hi @halalala222, it sounds like an useful feature. Would you mind asking how do you want to use the log data sent to the HTTP server? I'd like to research on what other workflow engine/orchestrater (Airflow, Temporal, etc) do in that regard, so we can make the feature most useful. |
hi @yohamta ! |
Just output to stdout and in a structured way. Like nearly all services do that runs in container. Common log shipper like fluent-bit, telegraf, ... can pickup the logs and do whatever is required. Dealing with log files, required volume and managing like logrotate/deleting is unusual n a container world: |
@yohamta , so i try to just output to stdout with a structure way(like json) ? I think that the structured format of this log can be configured? What do you think? |
Hi @helmut72 @halalala222, thank you very much for the additional inputs. Very helpful. Regarding log format, it's already implemented except for environment variable and documentation. I believe that Dagu outputs the logs to stdout by default when you run New configuration keys:
I'm a bit unsure about what kind of API request it should send; maybe just a |
Hi @yohamta i only used Alibaba OSS,it provides the corresponding Golang SDK that can directly upload OSS objects.Requires corresponding sensitive data such as AK, SK, etc. |
Yes, like I mentioned in my first post But this feature request:
Feature request from halalala222 is a complete different one and there are more than enough existing tools to send logs the millions log ingester. Nothing that Dagu should care about. There are so many nuances in configuration and log formats, that Dagu never can handle. Dagu is a scheduler and not a log shipper like Fluentd, fluent-bit, telegraf and so on...: Dagu should stay as it roots, become a great scheduler. |
Would be cool to have structured logs, maybe (optional) as json. Instead of this one (
docker logs -f dagu
):Would be also cool to disable writing log files with a configuration option. I send and store logs to my log server.
Thank you
The text was updated successfully, but these errors were encountered: