mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-02-02 00:16:34 +01:00
remove logs
This commit is contained in:
parent
cf03bdc17b
commit
0136c25e1d
@ -124,6 +124,7 @@ jpackage {
|
||||
launcherAsService = false
|
||||
appVersion = project.version
|
||||
|
||||
winConsole = false
|
||||
winMenu = true // Creates start menu entry
|
||||
winShortcut = true // Creates desktop shortcut
|
||||
winShortcutPrompt = true // Lets user choose whether to create shortcuts
|
||||
|
@ -272,7 +272,7 @@ public class EndpointConfiguration {
|
||||
|
||||
if (!bookAndHtmlFormatsInstalled) {
|
||||
if(groupsToRemove == null) {
|
||||
groupsToRemove = new ArrayList<String>();
|
||||
groupsToRemove = new ArrayList<>();
|
||||
}
|
||||
groupsToRemove.add("Calibre");
|
||||
}
|
||||
|
@ -9,8 +9,6 @@ import org.springframework.core.env.PropertySource;
|
||||
import org.springframework.core.io.support.EncodedResource;
|
||||
import org.springframework.core.io.support.PropertySourceFactory;
|
||||
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@Slf4j
|
||||
public class YamlPropertySourceFactory implements PropertySourceFactory {
|
||||
|
||||
@Override
|
||||
@ -20,15 +18,6 @@ public class YamlPropertySourceFactory implements PropertySourceFactory {
|
||||
factory.setResources(encodedResource.getResource());
|
||||
Properties properties = factory.getObject();
|
||||
|
||||
// Add debug logging
|
||||
if (properties != null) {
|
||||
log.info("Loaded properties count: {}", properties.size());
|
||||
properties.forEach((key, value) ->
|
||||
log.info("Property loaded - Key: {}, Value: {}", key, value));
|
||||
} else {
|
||||
log.warn("No properties loaded from resource");
|
||||
}
|
||||
|
||||
return new PropertiesPropertySource(
|
||||
encodedResource.getResource().getFilename(), properties);
|
||||
}
|
||||
|
@ -50,11 +50,11 @@ public class ApplicationProperties {
|
||||
public PropertySource<?> dynamicYamlPropertySource(ConfigurableEnvironment environment)
|
||||
throws IOException {
|
||||
String configPath = InstallationPathConfig.getSettingsPath();
|
||||
log.info("Attempting to load settings from: " + configPath);
|
||||
log.debug("Attempting to load settings from: " + configPath);
|
||||
|
||||
File file = new File(configPath);
|
||||
if (!file.exists()) {
|
||||
log.info("Warning: Settings file does not exist at: " + configPath);
|
||||
log.error("Warning: Settings file does not exist at: " + configPath);
|
||||
}
|
||||
|
||||
Resource resource = new FileSystemResource(configPath);
|
||||
@ -67,7 +67,7 @@ public class ApplicationProperties {
|
||||
new YamlPropertySourceFactory().createPropertySource(null, encodedResource);
|
||||
environment.getPropertySources().addFirst(propertySource);
|
||||
|
||||
log.info("Loaded properties: " + propertySource.getSource());
|
||||
log.debug("Loaded properties: " + propertySource.getSource());
|
||||
|
||||
return propertySource;
|
||||
}
|
||||
|
@ -106,14 +106,14 @@ AutomaticallyGenerated:
|
||||
|
||||
processExecutor:
|
||||
sessionLimit: # Process executor instances limits
|
||||
libreOfficeSessionLimit: 100
|
||||
pdfToHtmlSessionLimit: 100
|
||||
qpdfSessionLimit: 400
|
||||
tesseractSessionLimit: 100
|
||||
pythonOpenCvSessionLimit: 800
|
||||
weasyPrintSessionLimit: 1600
|
||||
installAppSessionLimit: 100
|
||||
calibreSessionLimit: 100
|
||||
libreOfficeSessionLimit: 1
|
||||
pdfToHtmlSessionLimit: 1
|
||||
qpdfSessionLimit: 4
|
||||
tesseractSessionLimit: 1
|
||||
pythonOpenCvSessionLimit: 8
|
||||
weasyPrintSessionLimit: 16
|
||||
installAppSessionLimit: 1
|
||||
calibreSessionLimit: 1
|
||||
timeoutMinutes: # Process executor timeout in minutes
|
||||
libreOfficetimeoutMinutes: 30
|
||||
pdfToHtmltimeoutMinutes: 20
|
||||
|
Loading…
Reference in New Issue
Block a user