Closed VuongAnnh closed 2 years ago
Log
This seems to be a problem with your configuration file. Did you manage to solve this?
This seems to be a problem with your configuration file. Did you manage to solve this? log file was generated after a day. 👍
Describe the bug
I have prolem with time zone log fluend!
when i run any service and fluentd service. fulend was able to get the service's log but the log time is incorrect time displayed on log is path + time + ".log" (testlog.19700101_0.log)
To Reproduce
version: '3.7' networks: microservicesnet: services: fluentd: container_name: fluentd user: root image: fluent/fluentd:v1.13.0-1.1 restart: always ports:
command: /usr/bin/fluentd -c /fluentd/etc/fluent.conf -v volumes:
eureka
eureka: build: context: ../fluentd-docker-logging-master/pe4j-eureka-server dockerfile: Dockerfile environment: TZ: Asia/Tokyo image: eureka ports:
"8761:8761" container_name: eureka
logging:
options:
restart: on-failure depends_on:
networks:
Expected behavior
Your Environment
Your Configuration
Your Error Log
1970-01-01T00:33:41Z docker {"log":"2021-12-09 08:45:03 +0000 [info]: #0 fluentd worker is now running worker=0\n","stream":"stdout"} 1970-01-01T00:33:41Z docker {"log":"\n","stream":"stdout","attrs":{"tag":"docker.eureka"}} 1970-01-01T00:33:41Z docker {"log":" . _ _ \n","stream":"stdout","attrs":{"tag":"docker.eureka"}} 1970-01-01T00:33:41Z docker {"log":" /\\ / '_ () \ \ \ \\n","stream":"stdout","attrs":{"tag":"docker.eureka"}} 1970-01-01T00:33:41Z docker {"log":"( ( )\ | ' | '| | ' \/ ` | \ \ \ \\n","stream":"stdout","attrs":{"tag":"docker.eureka"}} 1970-01-01T00:33:41Z docker {"log":" \\/ _)| |)| | | | | || (| | ) ) ) )\n","stream":"stdout","attrs":{"tag":"docker.eureka"}} 1970-01-01T00:33:41Z docker {"log":" ' |__| .|| ||| |\, | / / / /\n","stream":"stdout","attrs":{"tag":"docker.eureka"}} 1970-01-01T00:33:41Z docker {"log":" =========|_|==============|__/=////\n","stream":"stdout","attrs":{"tag":"docker.eureka"}} 1970-01-01T00:33:41Z docker {"log":" :: Spring Boot :: (v2.3.12.RELEASE)\n","stream":"stdout","attrs":{"tag":"docker.eureka"}} 1970-01-01T00:33:41Z docker {"log":"\n","stream":"stdout","attrs":{"tag":"docker.eureka"}}
Additional context
No response