Source:
<code>public Configuration loadConfiguration() throws ConfigurationException, IOException { nexusDefaults.loadConfiguration(); if ( getConfigurationFile() == null || getConfigurationFile().getAbsolutePath().contains( "${" ) ) { throw new ConfigurationException( "The configuration file is not set or resolved properly: " + getConfigurationFile().getAbsolutePath() ); } if ( !getConfigurationFile().exists() ) { getLogger().warn( "No configuration file in place, copying the default one and continuing with it." ); setConfiguration( nexusDefaults.getConfiguration() ); saveConfiguration( getConfigurationFile() ); configurationDefaulted = true; } else { configurationDefaulted = false; } try { loadConfiguration( getConfigurationFile() ); setConfigurationUpgraded( false ); } catch ( ConfigurationException e ) { <START> getLogger().info( "Configuration file is out to dated, begin upgrade" ); <END> upgradeConfiguration( getConfigurationFile() ); setConfigurationUpgraded( true ); loadConfiguration( getConfigurationFile() ); this.eventMulticaster.notifyEventListeners( new SecurityConfigurationChangedEvent( null ) ); } upgradeNexusVersion(); ValidationResponse vResponse = getConfigurationValidator().validateModel( new ValidationRequest( getConfiguration() ) ); dumpValidationErrors( vResponse ); setValidationResponse( vResponse ); if ( vResponse.isValid() ) { if ( vResponse.isModified() ) { getLogger().info( "Validation has modified the configuration, storing the changes." ); storeConfiguration(); } return getConfiguration(); } else { throw new InvalidConfigurationException( vResponse ); } }</code><technical_language>IMO this debug (and 'outdated'). I "Upgrading Nexus configuration file (version 1.4.0)" DefaultApplicationConfigurationUpgrader debug level</technical_language>

Target:
public Configuration loadConfiguration() throws ConfigurationException, IOException { nexusDefaults.loadConfiguration(); if ( getConfigurationFile() == null || getConfigurationFile().getAbsolutePath().contains( "${" ) ) { throw new ConfigurationException( "The configuration file is not set or resolved properly: " + getConfigurationFile().getAbsolutePath() ); } if ( !getConfigurationFile().exists() ) { getLogger().warn( "No configuration file in place, copying the default one and continuing with it." ); setConfiguration( nexusDefaults.getConfiguration() ); saveConfiguration( getConfigurationFile() ); configurationDefaulted = true; } else { configurationDefaulted = false; } try { loadConfiguration( getConfigurationFile() ); setConfigurationUpgraded( false ); } catch ( ConfigurationException e ) { getLogger().info( "Configuration file is outdated, begin upgrade" ); upgradeConfiguration( getConfigurationFile() ); setConfigurationUpgraded( true ); loadConfiguration( getConfigurationFile() ); this.eventMulticaster.notifyEventListeners( new SecurityConfigurationChangedEvent( null ) ); } upgradeNexusVersion(); ValidationResponse vResponse = getConfigurationValidator().validateModel( new ValidationRequest( getConfiguration() ) ); dumpValidationErrors( vResponse ); setValidationResponse( vResponse ); if ( vResponse.isValid() ) { if ( vResponse.isModified() ) { getLogger().info( "Validation has modified the configuration, storing the changes." ); storeConfiguration(); } return getConfiguration(); } else { throw new InvalidConfigurationException( vResponse ); } }