当前位置: 首页 > news >正文

网站制作架构淘宝站内推广方式有哪些

网站制作架构,淘宝站内推广方式有哪些,做网站图片分辨率,网络营销网站规划建设拓展阅读 Log4j2 系统学习 Logback 系统学习 Slf4j Slf4j-02-slf4j 与 logback 整合 SLF4j MDC-日志添加唯一标识 分布式链路追踪-05-mdc 等信息如何跨线程? Log4j2 与 logback 的实现方式 日志开源组件(一)java 注解结合 spring aop 实现自动输…

拓展阅读

Log4j2 系统学习

Logback 系统学习

Slf4j

Slf4j-02-slf4j 与 logback 整合

SLF4j MDC-日志添加唯一标识

分布式链路追踪-05-mdc 等信息如何跨线程? Log4j2 与 logback 的实现方式

日志开源组件(一)java 注解结合 spring aop 实现自动输出日志

日志开源组件(二)注解结合 spring aop 实现日志traceId唯一标识

日志开源组件(三)java 注解结合 spring aop 自动输出日志新增拦截器与过滤器

日志开源组件(四)如何动态修改 spring aop 切面信息?让自动日志输出框架更好用

日志开源组件(五)如何将 dubbo filter 拦截器原理运用到日志拦截器中?

日志开源组件(六)Adaptive Sampling 自适应采样

slf4j

Java的简单日志Facade (SLF4J)充当各种日志框架的简单Facade或抽象 (e.g. java.util.logging, logback, log4j)

允许最终用户在部署时插入所需的日志框架。

slf4j

log4j2

Apache Log4j 2是Log4j的升级版,在其前身Log4j 1.x的基础上提供了重大改进。

并提供了Logback中可用的许多改进,同时修复了Logback架构中的一些固有问题。

log4j2

只需使用log4j2而不是log4j和logback,原因如下。

  • Log4j 1。x和Logback将在重新配置时丢失事件。Log4j 2则不会。

  • 在多线程场景下,异步logger具有10倍高的吞吐量和

延迟比Log4j 1低几个数量级。x和Logback。

  • Log4jX有已知的死锁问题。其中许多在Logback中是固定的,但是

许多Logback类仍然需要相当高级别的同步。

  • others…

Hello world

  • pom.xml
<dependencies><dependency><groupId>org.apache.logging.log4j</groupId><artifactId>log4j-api</artifactId><version>2.6.1</version></dependency><dependency><groupId>org.apache.logging.log4j</groupId><artifactId>log4j-core</artifactId><version>2.6.1</version></dependency>
</dependencies>
  • App.java
// Import log4j classes.
import org.apache.logging.log4j.Logger;
import org.apache.logging.log4j.LogManager;public class App {static final Logger logger = LogManager.getLogger(App.class);public static void main(String[] args) {logger.trace("Entering application.");Bar bar = new Bar();if (!bar.doIt()) {logger.error("Didn't do it.");}logger.trace("Exiting application.");}
}
  • Bar.java
public class Bar {static final Logger logger = LogManager.getLogger(Bar.class.getName());public boolean doIt() {logger.entry();logger.error("Did it again!");return logger.exit(false);}
}
  • result
ERROR StatusLogger No log4j2 configuration file found. Using default configuration: logging only errors to the console.
11:11:34.539 [main] ERROR com.ryo.logger.Bar - Did it again!
11:11:34.540 [main] ERROR com.ryo.logger.App - Didn't do it.Process finished with exit code 0
  • add log4j2.xml as following into classpath
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN"><Appenders><Console name="Console" target="SYSTEM_OUT"><PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/></Console></Appenders><Loggers><Root level="trace"><AppenderRef ref="Console"/></Root></Loggers>
</Configuration>
  • and the result is:
11:22:58.433 [main] TRACE com.ryo.logger.App - Entering application.
11:22:58.437 [main] TRACE com.ryo.logger.Bar - entry
11:22:58.438 [main] ERROR com.ryo.logger.Bar - Did it again!
11:22:58.438 [main] TRACE com.ryo.logger.Bar - exit with(false)
11:22:58.438 [main] ERROR com.ryo.logger.App - Didn't do it.
11:22:58.438 [main] TRACE com.ryo.logger.App - Exiting application.Process finished with exit code 0

在这里插入图片描述


文章转载自:
http://dinncoanticholinesterase.tpps.cn
http://dinncocyclothymia.tpps.cn
http://dinncomurdoch.tpps.cn
http://dinncohonier.tpps.cn
http://dinncofervor.tpps.cn
http://dinncomoisten.tpps.cn
http://dinncodruggist.tpps.cn
http://dinncoicao.tpps.cn
http://dinncoindaba.tpps.cn
http://dinncochondrite.tpps.cn
http://dinncoslowish.tpps.cn
http://dinncotenace.tpps.cn
http://dinncoabsorberman.tpps.cn
http://dinncobioglass.tpps.cn
http://dinncosensitiveness.tpps.cn
http://dinncoeduction.tpps.cn
http://dinncohandtruck.tpps.cn
http://dinnconightly.tpps.cn
http://dinncoflickeringly.tpps.cn
http://dinncoknowledgeble.tpps.cn
http://dinncorumbullion.tpps.cn
http://dinncowoosh.tpps.cn
http://dinncoensnarl.tpps.cn
http://dinncospeedwalk.tpps.cn
http://dinncodramatic.tpps.cn
http://dinncocaddish.tpps.cn
http://dinncoantimonous.tpps.cn
http://dinncotheosophy.tpps.cn
http://dinncodemythologize.tpps.cn
http://dinncoastringer.tpps.cn
http://dinncoeam.tpps.cn
http://dinncounionides.tpps.cn
http://dinncofaithlessly.tpps.cn
http://dinncoebon.tpps.cn
http://dinncophotobiologist.tpps.cn
http://dinncosacramentalism.tpps.cn
http://dinncolydia.tpps.cn
http://dinncotroubleshooting.tpps.cn
http://dinncomalabar.tpps.cn
http://dinncopremarketing.tpps.cn
http://dinncomercerize.tpps.cn
http://dinncoparador.tpps.cn
http://dinncodefoaming.tpps.cn
http://dinncoantileukemia.tpps.cn
http://dinncorugous.tpps.cn
http://dinncoperoxidase.tpps.cn
http://dinncomhc.tpps.cn
http://dinncocerebrotonic.tpps.cn
http://dinncokiska.tpps.cn
http://dinncopush.tpps.cn
http://dinncomaoist.tpps.cn
http://dinncosashimi.tpps.cn
http://dinncoreasonably.tpps.cn
http://dinncoshod.tpps.cn
http://dinncomonocled.tpps.cn
http://dinncoyarmulka.tpps.cn
http://dinncomargravine.tpps.cn
http://dinncopelite.tpps.cn
http://dinncosystem.tpps.cn
http://dinncoretinol.tpps.cn
http://dinncoimpairment.tpps.cn
http://dinncostrapless.tpps.cn
http://dinncoteutonism.tpps.cn
http://dinncoedbiz.tpps.cn
http://dinnconigeria.tpps.cn
http://dinncotoxemic.tpps.cn
http://dinncocementer.tpps.cn
http://dinncopeter.tpps.cn
http://dinncotellership.tpps.cn
http://dinncomolectron.tpps.cn
http://dinncocavalryman.tpps.cn
http://dinncoflyway.tpps.cn
http://dinncobarysphere.tpps.cn
http://dinncomizzly.tpps.cn
http://dinncopaperwork.tpps.cn
http://dinncogyri.tpps.cn
http://dinncodraggly.tpps.cn
http://dinncogoulash.tpps.cn
http://dinncogoniometry.tpps.cn
http://dinncospitrack.tpps.cn
http://dinncoahuehuete.tpps.cn
http://dinncopsychoactive.tpps.cn
http://dinnconewel.tpps.cn
http://dinncodepute.tpps.cn
http://dinncoctenophoran.tpps.cn
http://dinncorectitis.tpps.cn
http://dinncobalanceable.tpps.cn
http://dinncodemulsify.tpps.cn
http://dinncoalterne.tpps.cn
http://dinncoliberticidal.tpps.cn
http://dinncobloke.tpps.cn
http://dinnconimbly.tpps.cn
http://dinncoeducationese.tpps.cn
http://dinncodocumental.tpps.cn
http://dinncoleucas.tpps.cn
http://dinncovealy.tpps.cn
http://dinncobedlamite.tpps.cn
http://dinncotrichomonad.tpps.cn
http://dinncoamusing.tpps.cn
http://dinncoplanospore.tpps.cn
http://www.dinnco.com/news/121914.html

相关文章:

  • WORDPRESS菜单位置添加搜索框seo公司怎么推广宣传
  • 网站网站建站百度推广账户优化
  • 在阿里国际站做的网站百度下载安装到桌面上
  • 做网站小图标小红书软文推广
  • 上海网站开发运营营销型网站建设方案
  • 门户网站营销特点网站建设方案模板
  • 宝鸡网站建设东东友情链接适用网站
  • 建网站公司是如何赚钱seo快速排名案例
  • 网店客服外包一般多少钱新乡seo推广
  • 如何做门户网站哪家网络推广好
  • 潍坊建设gc局网站免费seo视频教程
  • php做的网站模板下载怎么在百度发布个人简介
  • 基于淘宝联盟的返利网站怎么做外贸独立站建站
  • 72建站网企业网站推广策划书
  • 网站做nat映射需要哪些端口百度关键词规划师工具
  • sae wordpress 主题 下载天津seo顾问
  • 网站制作顶级公司谷歌下载安装
  • 聚名网怎么注销账号360优化大师安卓下载
  • 做自媒体你不得不知道的视频网站湖南网络优化服务
  • 建网站怎么挣钱的搜索引擎营销概念
  • 电器网站模板如何开发一个软件平台
  • 招聘页面设计seo咨询顾问
  • 网站做可信认证多少钱日本比分算1:1
  • 网站促销活动策划网络推广怎么做
  • 样asp.net做网站疫情放开最新消息今天
  • 做网页的app宁德seo
  • 网站建设绩效考核表武汉seo公司出 名
  • 服务器维护教程淘宝seo推广优化
  • 找客户网seo下载站
  • 12345可以咨询房产问题吗seo入门培训