]> gerrit.simantics Code Review - simantics/platform.git/commit
Added LoggingUtils/archiveLogs SCL function. 33/1533/1
authorTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 7 Mar 2018 12:59:39 +0000 (14:59 +0200)
committerTuukka Lehtonen <tuukka.lehtonen@semantum.fi>
Wed, 7 Mar 2018 12:59:39 +0000 (14:59 +0200)
commitf77aae8906bcd780c0202720257d8c443a261342
tree22cadb602fd5a12303304f6c73d7f7c6ba3dd974
parent571533bb34f06bbe3e868dd730d4cf5e793039a4
Added LoggingUtils/archiveLogs SCL function.

Also moved all archival related headless code to org.simantics.logging
from org.simantics.logging.ui to keep both UI & headless codebases
cleaner.

DBAndMetadataLogProvider was fixed to support workspace paths with
whitespace in their name.

LogCollector.archiveLogs now also removes the temporary directory
structure it creates for collecting and archiving the log files.

refs #7795

Change-Id: Icbffa7ffc5d6a5f2b859b0220fbebcf59b5ac590
bundles/org.simantics.logging.ui/META-INF/MANIFEST.MF
bundles/org.simantics.logging.ui/src/org/simantics/logging/ui/handlers/SaveLogFilesHandler.java
bundles/org.simantics.logging/META-INF/MANIFEST.MF
bundles/org.simantics.logging/scl/LoggingUtils.scl
bundles/org.simantics.logging/src/org/simantics/logging/DBAndMetadataLogProvider.java
bundles/org.simantics.logging/src/org/simantics/logging/LogCollector.java