Evo PDF不会将HTML转换为PDF,其中包含超过1000页,包括2000张图像。
<?xml version="1.0" encoding="UTF-8"?>
<configuration debug="true" scan="true">
<!-- Send debug messages to System.out -->
<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
<!-- By default, encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder -->
<encoder>
<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{5} - %msg%n</pattern>
</encoder>
</appender>
<appender name="FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>C:/log/mylog.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
<!-- rollover daily -->
<fileNamePattern>C:/log/mylog-%d{yyyy-MM-dd}.%i.txt</fileNamePattern>
<!-- each file should be at most 100MB, keep 60 days worth of history, but at most 20GB -->
<maxFileSize>2KB</maxFileSize>
<maxHistory>10</maxHistory>
<totalSizeCap>2MB</totalSizeCap>
</rollingPolicy>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>%d{yyyy-MM-dd_HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern>
</encoder>
</appender>
<!--
<appender name="FILE1" class="ch.qos.logback.core.rolling.RollingFileAppender">
<file>C:/log/jcg.log</file>
<rollingPolicy class="ch.qos.logback.core.rolling.FixedWindowRollingPolicy">
<FileNamePattern>c:/log/jcg.%i.log.zip</FileNamePattern>
<MinIndex>1</MinIndex>
<MaxIndex>2</MaxIndex>
</rollingPolicy>
<triggeringPolicy class="ch.qos.logback.core.rolling.SizeBasedTriggeringPolicy">
<MaxFileSize>2KB</MaxFileSize>
</triggeringPolicy>
<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
<Pattern>%d{yyyy-MM-dd_HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern>
</encoder>
</appender> -->
<logger name="com.tcs" level="INFO" additivity="false">
<appender-ref ref="STDOUT" />
<appender-ref ref="FILE" />
</logger>
<!-- By default, the level of the root level is set to DEBUG -->
<root level="DEBUG">
<appender-ref ref="STDOUT" />
</root>
答案 0 :(得分:0)
您使用的是最新版本的软件吗?如果不是,您应该先试用最新版本。
在运行转换器的同一台服务器上的浏览器中完全加载HTML页面需要多长时间?使用CTRL-R刷新浏览器中的页面,并确保它不加载缓存的图像。
您是否尝试过增加ConversionDelay和NavigationTimeout?您是否有想要转换的HTML页面的URL?
如果您需要更多帮助来解决此问题,请联系EVO支持。