# Suppress WindowsPreferences logging

This commit is contained in:
Reinhard Pointner 2016-11-06 01:17:58 +08:00
parent 6895631297
commit a42f75050a
8 changed files with 61 additions and 21 deletions

View File

@ -574,7 +574,7 @@
<target name="appx" description="Build Windows 10 package" depends="revision">
<copy tofile="${dir.dist}/appx/FileBot.jar" file="${path.fatjar}" />
<copy todir="${dir.dist}/appx">
<fileset dir="${dir.installer}/appx" includes="*.exe, *.ini, *.png" />
<fileset dir="${dir.installer}/appx" includes="*.exe, *.ini, *.properties, *.png" />
<fileset dir="${dir.lib}/native/win32-x64" />
</copy>
@ -631,7 +631,7 @@
<fileset dir="${dir.installer}/icons" includes="*.ico" />
</copy>
<copy-replace todir="${dir.staging}">
<fileset dir="${dir.installer}/msi" includes="*.wix, *.ini" />
<fileset dir="${dir.installer}/msi" includes="*.wix, *.ini, *.properties" />
</copy-replace>
<exec executable="candle" dir="${dir.staging}" failonerror="true">

View File

@ -3,25 +3,28 @@
-Dapplication.dir="%APPDATA%\FileBot"
# put all temporary files here
-Djava.io.tmpdir="%APPDATA%\FileBot\temp"
-Djava.io.tmpdir="%APPDATA%\FileBot\tmp"
# network settings
-Djava.net.useSystemProxies=true
# use native shell for move/copy operations
# use Java API move/copy operations
-DuseNativeShell=false
# use NTFS extended attributes for storing metadata
-DuseExtendedFileAttributes=true
-DuseCreationDate=false
# look for native libs here
# look for executables in the application folder
-Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\fpcalc.exe"
# look for native libraries in the application folder
-Djna.library.path="%EXEDIR%"
-Djna.boot.library.path="%EXEDIR%"
-Djava.library.path="%EXEDIR%"
# look for fpcalc here
-Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\fpcalc.exe"
# reduce default logging
-Djava.util.logging.config.file="%EXEDIR%\logging.properties"
# force Application User Model ID for Windows Store
-Dnet.filebot.AppUserModelID=PointPlanck.FileBot

View File

@ -3,25 +3,28 @@
-Dapplication.dir="%APPDATA%\FileBot"
# put all temporary files here
-Djava.io.tmpdir="%APPDATA%\FileBot\temp"
-Djava.io.tmpdir="%APPDATA%\FileBot\tmp"
# network settings
-Djava.net.useSystemProxies=true
# use native shell for move/copy operations
# use Windows Shell for move/copy operations
-DuseNativeShell=true
# use NTFS extended attributes for storing metadata
-DuseExtendedFileAttributes=true
-DuseCreationDate=false
# look for native libs here
# look for executables in the application folder
-Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\fpcalc.exe"
# look for native libraries in the application folder
-Djna.library.path="%EXEDIR%"
-Djna.boot.library.path="%EXEDIR%"
-Djava.library.path="%EXEDIR%"
# look for fpcalc here
-Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\fpcalc.exe"
# reduce default logging
-Djava.util.logging.config.file="%EXEDIR%\logging.properties"
# force Application User Model ID for Windows Store
-Dnet.filebot.AppUserModelID=PointPlanck.FileBot

View File

@ -0,0 +1,12 @@
# Default global handler
handlers= java.util.logging.ConsoleHandler
# Default global logging level
.level= WARNING
# Limit messages that printed on the console to WARNING and above
java.util.logging.ConsoleHandler.level = WARNING
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
# Suppress WindowsPreferences logging
java.util.prefs.WindowsPreferences = SEVERE

View File

@ -3,19 +3,25 @@
-Dapplication.dir="%APPDATA%\FileBot"
# put all temporary files here
-Djava.io.tmpdir="%APPDATA%\FileBot\temp"
-Djava.io.tmpdir="%APPDATA%\FileBot\tmp"
# network settings
-Djava.net.useSystemProxies=true
# use Java API move/copy operations
-DuseNativeShell=false
# use NTFS extended attributes for storing metadata
-DuseExtendedFileAttributes=true
-DuseCreationDate=false
# look for native libs here
# look for executables in the application folder
-Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\fpcalc.exe"
# look for native libraries in the application folder
-Djna.library.path="%EXEDIR%"
-Djna.boot.library.path="%EXEDIR%"
-Djava.library.path="%EXEDIR%"
# look for fpcalc here
-Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\fpcalc.exe"
# reduce default logging
-Djava.util.logging.config.file="%EXEDIR%\logging.properties"

View File

@ -3,22 +3,25 @@
-Dapplication.dir="%APPDATA%\FileBot"
# put all temporary files here
-Djava.io.tmpdir="%APPDATA%\FileBot\temp"
-Djava.io.tmpdir="%APPDATA%\FileBot\tmp"
# network settings
-Djava.net.useSystemProxies=true
# use native shell for move/copy operations
# use Windows Shell for move/copy operations
-DuseNativeShell=true
# use NTFS extended attributes for storing metadata
-DuseExtendedFileAttributes=true
-DuseCreationDate=false
# look for native libs here
# look for executables in the application folder
-Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\fpcalc.exe"
# look for native libraries in the application folder
-Djna.library.path="%EXEDIR%"
-Djna.boot.library.path="%EXEDIR%"
-Djava.library.path="%EXEDIR%"
# look for fpcalc here
-Dnet.filebot.AcoustID.fpcalc="%EXEDIR%\fpcalc.exe"
# reduce default logging
-Djava.util.logging.config.file="%EXEDIR%\logging.properties"

View File

@ -58,6 +58,7 @@
<Component Id='ApplicationBase' Guid='9E365344-A00C-45DE-A2A4-266412C3D06E' Win64="$(var.Win64)">
<File Id='FileBot.jar' Name='FileBot.jar' Source='@{path.fatjar}' KeyPath='yes' />
<File Id='logging.properties' Name='logging.properties' Source='logging.properties' KeyPath='yes' />
<File Id='jnidispatch.dll' Name='jnidispatch.dll' Source='jnidispatch.dll' />
<File Id='MediaInfo.dll' Name='MediaInfo.dll' Source='MediaInfo.dll' />
<File Id='lib7_Zip_JBinding.dll' Name='7-Zip-JBinding.dll' Source='7-Zip-JBinding.dll' />

View File

@ -0,0 +1,12 @@
# Default global handler
handlers= java.util.logging.ConsoleHandler
# Default global logging level
.level= WARNING
# Limit messages that printed on the console to WARNING and above
java.util.logging.ConsoleHandler.level = WARNING
java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter
# Suppress WindowsPreferences logging
java.util.prefs.WindowsPreferences = SEVERE