devonfw / IDEasy

Tool to automate the setup and updates of a development environment for any project (Successor of devonfw-ide).
Apache License 2.0
12 stars 24 forks source link

"Expected folder was not found at D:\projects\IDEasy\settings\intellij\workspace\setup" should be DEBUG #818

Open KianRolf opened 1 day ago

KianRolf commented 1 day ago

When calling ide intellij following info message is logged into the console: Expected folder was not found at D:\projects\IDEasy\settings\intellij\workspace\setup

Steps to reproduce (bug) / Use Case of feature request (enhancement)

  1. Run ide intellij

Comments/Hints:

Change the INFO log to DEBUG

hohwille commented 1 day ago

See here: https://github.com/devonfw/IDEasy/blob/cfd61d5aa72fdec71f282302a76cbb2daa94be09/cli/src/main/java/com/devonfw/tools/ide/io/FileAccessImpl.java#L241

ATTENTION: This method is used in different places and in most of them I would say that a warning is correct. So either in the updater we do not use this method for setup and update folders or we change it to a new variant that allows to provide the log-level as a parameter so WARNING is the default but can be overridden.