[
https://issues.apache.org/jira/browse/ARTEMIS-4081?focusedWorklogId=823146&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-823146
]
ASF GitHub Bot logged work on ARTEMIS-4081:
-------------------------------------------
Author: ASF GitHub Bot
Created on: 03/Nov/22 17:10
Start Date: 03/Nov/22 17:10
Worklog Time Spent: 10m
Work Description: clebertsuconic commented on code in PR #4246:
URL: https://github.com/apache/activemq-artemis/pull/4246#discussion_r1013191905
##########
artemis-cli/src/main/java/org/apache/activemq/artemis/cli/commands/Run.java:
##########
@@ -225,4 +227,21 @@ protected void stop() {
e.printStackTrace();
}
}
+
+
+ public static final String OLD_LOG_NAME = "logging.properties";
+
+ public static void verifyOlderLogging(File fileInstance) throws Exception {
Review Comment:
changing that to verifyOlderLogging(new File(getBrokerEtc());
Issue Time Tracking
-------------------
Worklog Id: (was: 823146)
Time Spent: 40m (was: 0.5h)
> Upgrade command
> ---------------
>
> Key: ARTEMIS-4081
> URL: https://issues.apache.org/jira/browse/ARTEMIS-4081
> Project: ActiveMQ Artemis
> Issue Type: New Feature
> Reporter: Clebert Suconic
> Assignee: Clebert Suconic
> Priority: Major
> Fix For: 2.27.0
>
> Time Spent: 40m
> Remaining Estimate: 0h
>
> We should add a command to upgrade an instance from an older broker.
> ./artemis upgrade <old-instance> should update the required scripts and files
> to reflect a new broker home.
> The touched files should be backed up for easy recovering in case of failure
> and also for the user to compare eventual configuration they might have done
> on scripts.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)