Skip to content

Commit

Permalink
generalized log setup
Browse files Browse the repository at this point in the history
  • Loading branch information
rsfzi committed Jan 27, 2025
1 parent 6d2b98c commit 6a5006f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,7 @@ private ClassLoader configureNewClassloader() {
* @throws CoreException
* the core exception
*/
protected ArrayList<LoggerAppenderStruct> setupLogging(Level logLevel) throws CoreException {
protected List<LoggerAppenderStruct> setupLogging(Level logLevel) throws CoreException {
ArrayList<LoggerAppenderStruct> loggerList = new ArrayList<>();

// Setup Palladio workflow engine logging
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ protected BlackboardBasedWorkflow<MDSDBlackboard> createWorkflow(
*/
@Override
protected ArrayList<LoggerAppenderStruct> setupLogging(final Level logLevel) throws CoreException {
final ArrayList<LoggerAppenderStruct> loggerList = super.setupLogging(logLevel);
final ArrayList<LoggerAppenderStruct> loggerList = new ArrayList<>(super.setupLogging(logLevel));

// Setup openArchitectureWare Logging
loggerList.add(this.setupLogger("org.openarchitectureware", logLevel, SHORT_LOG_PATTERN));
Expand Down

0 comments on commit 6a5006f

Please sign in to comment.