Tag:log

  • Analysis of front-end log collection scheme

    Time:2022-11-25

    foreword In the front-end deployment process, nginx is usually used as the deployment server, and for the default nginx service, it provides corresponding log records, which can be used to record related logs of server access, for system stability and robustness monitoring In other words, log collection and analysis can provide more quantitative index construction. […]

  • Record server memory explosion

    Time:2022-11-20

    Recently, I was preparing for a full-stack project. I wanted to use the previous project to practice. After a test, I found a bug. Then modify the code, push it to the remote warehouse, log in to the server, and when pulling the code, an error is reported, sayingerror: unable to create temporary file: No […]

  • Idea packaged and ran the jar without printing the log

    Time:2022-10-30

    Here’s the only information the console has: log4j:WARN No appenders could be found for logger (WordCountApp). log4j:WARN Please initialize the log4j system properly. log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info. At this point, the log4j.properties file is added under the resource (it will be packaged into the root directory of the jar) Since the program reads […]

  • JetBrains ideolog log highlighting plugin configuration

    Time:2022-10-25

    This plug-in can be used in most IDEs of JetBrains, such as pycharm idea, etc. For example, there are many third-party libraries in Python that can realize the highlight output of the log console, but the log written to the file cannot be highlighted. This plug-in is In order to solve this problem Instructions: Click […]

  • SpringBoot integrates Log4j2 logging framework

    Time:2022-10-25

    1 1

  • OS messages file location change

    Time:2022-10-24

    problem phenomenon When encountering a problem, you need to view the log of the operating system, but to the operating system/var/log/messagesIt is found in the file that the file has not been refreshed for a long time. This system has been hardened before. I suspect that it has changed some configurations of the operating system […]

  • Yii uses DbTarget to implement logging function

    Time:2022-10-20

    One: Configure DbTarget in the log component of the configuration file ‘log’ => [ ‘traceLevel’ => YII_DEBUG ? 3 : 0, ‘targets’ => [ [ ‘class’ => ‘yii\log\FileTarget’, ‘levels’ => [‘error’, ‘warning’], ], ‘test’ => [ ‘class’ = > ‘yii \ log \ DbTarget’, // DaTarget class ‘logTable’ => ‘{{%test_log}}’,//log table ‘levels’ => [‘error’, ‘info’, […]

  • yii-log-target – Monitor system exceptions and send exception information notifications through multiple channels

    Time:2022-10-13

    yii-log-target– Monitor system abnormalities and send abnormal information notifications through multiple channels (Bark, Chanify, Dingding group robots, Feishu group robots, Server sauce, enterprise WeChat group robots, and information). Environmental requirements PHP >= 7.2 yiisoft/yii2 > 2.0 Install $ composer require guanguans/yii-log-target –prefer-dist -vvv configure Yii2 configuration fileconfig/main.phpThe log component is configured in: ‘log’ => [ […]