You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run my spring-shell application I get a directory tree structure that looks like this from where I ran the spring shell application:
How do I set {userconfig} so I actually get the log file in the location I like? I looked into the UserConfigAutoConfiguration class and I would think the log file should be in System.getProperty("user.home") + "/" + ".config"; but it doesn't seem to work or more likely I'm doing something very wrong :-)
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In my application.properties I got the following:
When I run my spring-shell application I get a directory tree structure that looks like this from where I ran the spring shell application:
How do I set
{userconfig}
so I actually get the log file in the location I like? I looked into theUserConfigAutoConfiguration
class and I would think the log file should be inSystem.getProperty("user.home") + "/" + ".config";
but it doesn't seem to work or more likely I'm doing something very wrong :-)--Andy
Beta Was this translation helpful? Give feedback.
All reactions