Add debug messages.
This commit is contained in:
parent
2d16cbc352
commit
3df01fcad0
2 changed files with 6 additions and 3 deletions
|
|
@ -116,9 +116,11 @@ public class DisplayController extends Component {
|
|||
@Handler
|
||||
@SuppressWarnings("PMD.EmptyCatchBlock")
|
||||
public void onFileChanged(FileChanged event) {
|
||||
if (event.path().equals(configDir.resolve(DisplaySecret.PASSWORD))
|
||||
&& canBeUpdated) {
|
||||
configurePassword();
|
||||
if (event.path().equals(configDir.resolve(DisplaySecret.PASSWORD))) {
|
||||
logger.fine(() -> "Display password updated");
|
||||
if (canBeUpdated) {
|
||||
configurePassword();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -311,6 +311,7 @@ public class Runner extends Component {
|
|||
@Handler
|
||||
public void onConfigurationUpdate(ConfigurationUpdate event) {
|
||||
event.structured(componentPath()).ifPresent(c -> {
|
||||
logger.fine(() -> "Runner configuratation updated");
|
||||
var newConf = yamlMapper.convertValue(c, Configuration.class);
|
||||
|
||||
// Add some values from other sources to configuration
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue