Is there anyway to configure the default event log at stdout when starting app?
emilebui opened this issue · comments
Emile Bui commented
Dongxun Yin commented
Here is the configuration of event log docs with Echo framework.
https://docs.rkdev.info/user-guide/web/echo/logging/#concept
In your case, I think bellow configuration will work.
event:
- name: my-event
outputPaths: [""] # set to empty if want to ignoring all event logs
echo:
- name: greeter
port: 8080
enabled: true
eventEntry: my-event
Emile Bui commented
Dongxun Yin commented
@emilebui I will create a demo package with the configuration ASAP. Maybe it is because of old version.
Dongxun Yin commented
@emilebui Please try this example: https://github.com/rookie-ninja/rk-demo/tree/master/echo/v2/ignore-event
It works for me on my local machine. Also, please check rk-echo and rk-boot version in go.mod.