NutzCN Logo
问答 更换最新版nutz.jar,日志信息不打印
发布于 242天前 作者 qq_6c186ef5 264 次浏览 复制 上一个帖子 下一个帖子
标签:
log4j.rootLogger=debug,Console

log4j.logger.org.eclipse.jetty=info
log4j.logger.org.apache.jasper=info
log4j.logger.org.apache.catalina=info
log4j.logger.org.apache.tomcat=info

log4j.appender.Console=org.apache.log4j.ConsoleAppender
log4j.appender.Console.layout=org.apache.log4j.PatternLayout
log4j.appender.Console.layout.ConversionPattern=[%-5p] %d{HH:mm:ss.SSS} %l - %m%n

I:\services\tomcat\tomcat9\bin\catalina.bat run
[2020-02-24 10:28:57,051] Artifact ts-travel-phone-api:war exploded: Waiting for server connection to start artifact deployment...
Using CATALINA_BASE:   "E:\idea\ideaConf\.IntelliJIdea2018.2\system\tomcat\Tomcat_9_0_81_ts-travel-phone-api"
Using CATALINA_HOME:   "I:\services\tomcat\tomcat9"
Using CATALINA_TMPDIR: "I:\services\tomcat\tomcat9\temp"
Using JRE_HOME:        "C:\Jdk\Java\jdk1.8.0_131"
Using CLASSPATH:       "I:\services\tomcat\tomcat9\bin\bootstrap.jar;I:\services\tomcat\tomcat9\bin\tomcat-juli.jar"
Connected to the target VM, address: '127.0.0.1:46404', transport: 'socket'
24-Feb-2020 10:28:58.468 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server version:        Apache Tomcat/9.0.8
24-Feb-2020 10:28:58.472 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server built:          Apr 27 2018 19:32:00 UTC
24-Feb-2020 10:28:58.472 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Server number:         9.0.8.0
24-Feb-2020 10:28:58.472 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Name:               Windows 7
24-Feb-2020 10:28:58.473 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log OS Version:            6.1
24-Feb-2020 10:28:58.473 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Architecture:          amd64
24-Feb-2020 10:28:58.473 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Java Home:             C:\Jdk\Java\jdk1.8.0_131\jre
24-Feb-2020 10:28:58.473 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Version:           1.8.0_131-b11
24-Feb-2020 10:28:58.473 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log JVM Vendor:            Oracle Corporation
24-Feb-2020 10:28:58.473 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_BASE:         E:\idea\ideaConf\.IntelliJIdea2018.2\system\tomcat\Tomcat_9_0_81_ts-travel-phone-api
24-Feb-2020 10:28:58.473 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log CATALINA_HOME:         I:\services\tomcat\tomcat9
24-Feb-2020 10:28:58.474 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.config.file=E:\idea\ideaConf\.IntelliJIdea2018.2\system\tomcat\Tomcat_9_0_81_ts-travel-phone-api\conf\logging.properties
24-Feb-2020 10:28:58.474 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
24-Feb-2020 10:28:58.474 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:46404,suspend=y,server=n
24-Feb-2020 10:28:58.474 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -javaagent:E:\idea\ideaConf\.IntelliJIdea2018.2\system\captureAgent\debugger-agent.jar
24-Feb-2020 10:28:58.474 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dfile.encoding=utf-8
24-Feb-2020 10:28:58.475 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote=
24-Feb-2020 10:28:58.475 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.port=1099
24-Feb-2020 10:28:58.475 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.ssl=false
24-Feb-2020 10:28:58.475 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.password.file=E:\idea\ideaConf\.IntelliJIdea2018.2\system\tomcat\Tomcat_9_0_81_ts-travel-phone-api\jmxremote.password
24-Feb-2020 10:28:58.475 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcom.sun.management.jmxremote.access.file=E:\idea\ideaConf\.IntelliJIdea2018.2\system\tomcat\Tomcat_9_0_81_ts-travel-phone-api\jmxremote.access
24-Feb-2020 10:28:58.475 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.rmi.server.hostname=127.0.0.1
24-Feb-2020 10:28:58.475 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djdk.tls.ephemeralDHKeySize=2048
24-Feb-2020 10:28:58.476 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.protocol.handler.pkgs=org.apache.catalina.webresources
24-Feb-2020 10:28:58.476 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dignore.endorsed.dirs=
24-Feb-2020 10:28:58.476 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.base=E:\idea\ideaConf\.IntelliJIdea2018.2\system\tomcat\Tomcat_9_0_81_ts-travel-phone-api
24-Feb-2020 10:28:58.476 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Dcatalina.home=I:\services\tomcat\tomcat9
24-Feb-2020 10:28:58.476 信息 [main] org.apache.catalina.startup.VersionLoggerListener.log Command line argument: -Djava.io.tmpdir=I:\services\tomcat\tomcat9\temp
24-Feb-2020 10:28:58.476 信息 [main] org.apache.catalina.core.AprLifecycleListener.lifecycleEvent The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: [C:\Jdk\Java\jdk1.8.0_131\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\Common Files\NetSarang;I:\services\python\python-3.6.4\python\Scripts\;I:\services\python\python-3.6.4\python\;I:\services\apache-maven-3.2.1\bin;%APPCAN_PATH%;C:\ProgramData\Oracle\Java\javapath;I:\services\cygwin\bin;I:\services\ActiveMQ\apache-ant-1.9.7\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Jdk\Java\jdk1.8.0_131/bin;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\VisualSVN\bin;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v2.0\;C:\Program Files (x86)\GtkSharp\2.12\bin;I:\services\gradle\gradle-5.6\bin;C:\Program Files\nodejs\;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Git\cmd;I:\services\python\python-3.6.4\python\Lib\site-packages\django\bin;I:\services\python\python-3.6.4\python\Scripts;I:\services\sacla\scala\bin;I:\services\sacla\scala\bin;I:\services\spark\spark-2.4.3-bin-hadoop2.7\bin;I:\services\hadoop\hadoop-2.7.7\bin;C:\Users\Administrator\AppData\Roaming\npm;.]
24-Feb-2020 10:28:58.638 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["http-nio-8012"]
24-Feb-2020 10:28:58.660 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
24-Feb-2020 10:28:58.669 信息 [main] org.apache.coyote.AbstractProtocol.init Initializing ProtocolHandler ["ajp-nio-8015"]
24-Feb-2020 10:28:58.671 信息 [main] org.apache.tomcat.util.net.NioSelectorPool.getSharedSelector Using a shared selector for servlet write/read
24-Feb-2020 10:28:58.672 信息 [main] org.apache.catalina.startup.Catalina.load Initialization processed in 807 ms
24-Feb-2020 10:28:58.723 信息 [main] org.apache.catalina.core.StandardService.startInternal Starting service [Catalina]
24-Feb-2020 10:28:58.724 信息 [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/9.0.8
24-Feb-2020 10:28:58.738 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["http-nio-8012"]
24-Feb-2020 10:28:58.755 信息 [main] org.apache.coyote.AbstractProtocol.start Starting ProtocolHandler ["ajp-nio-8015"]
24-Feb-2020 10:28:58.795 信息 [main] org.apache.catalina.startup.Catalina.start Server startup in 122 ms
Connected to server
[2020-02-24 10:28:58,806] Artifact ts-travel-phone-api:war exploded: Artifact is being deployed, please wait...
24-Feb-2020 10:29:03.122 信息 [RMI TCP Connection(3)-127.0.0.1] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
[2020-02-24 10:29:04,099] Artifact ts-travel-phone-api:war exploded: Artifact is deployed successfully
[2020-02-24 10:29:04,099] Artifact ts-travel-phone-api:war exploded: Deploy took 5,293 milliseconds
24-Feb-2020 10:29:05.352 信息 [http-nio-8012-exec-3] org.apache.tomcat.util.http.parser.Cookie.logInvalidHeader A cookie header was received [1582161652,1582254829,1582355595] that contained an invalid cookie. That cookie will be ignored.Note: further occurrences of this error will be logged at DEBUG level.
24-Feb-2020 10:29:08.742 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deploying web application directory [I:\services\tomcat\tomcat9\webapps\manager]
24-Feb-2020 10:29:08.883 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.jasper.servlet.TldScanner.scanJars At least one JAR was scanned for TLDs yet contained no TLDs. Enable debug logging for this logger for a complete list of JARs that were scanned but no TLDs were found in them. Skipping unneeded JARs during scanning can improve startup time and JSP compilation time.
24-Feb-2020 10:29:08.897 信息 [ContainerBackgroundProcessor[StandardEngine[Catalina]]] org.apache.catalina.startup.HostConfig.deployDirectory Deployment of web application directory [I:\services\tomcat\tomcat9\webapps\manager] has finished in [154] ms
[INFO ] 10:29:13.505 com.alibaba.druid.pool.DruidDataSource.init(DruidDataSource.java:669) - {dataSource-1} inited

1 回复

打印不了详细的日志

添加回复
请先登陆
回到顶部