java - How to manage logs in a unified manner after tomcat cluster?
滿天的星座
滿天的星座 2017-06-12 09:24:37
0
5
884

How to manage the logs of each node in a unified manner after clustering? For example, if a certain function reports an error, you need to go to each node to check the log. This is too troublesome. How is it usually managed?

滿天的星座
滿天的星座

reply all (5)
洪涛

Our company chose to rewrite log4j

    三叔

    There is one log file every day, and the analysis is done through merging. It is not recommended to unify all logs on one server.

    A function reported an error

    You should check the error log, and there are not many error logs. Do not keep error logs and normal logs together.

      仅有的幸福

      elk stack!

        为情所困

        Distributed open source log analysis system under Google, you can refer to other people's implementation.
        The overall idea should be: a distributed queue, log collection + log search engine + graphical interface display

          阿神

          elk stack!

            Latest Downloads
            More>
            Web Effects
            Website Source Code
            Website Materials
            Front End Template
            About us Disclaimer Sitemap
            php.cn:Public welfare online PHP training,Help PHP learners grow quickly!