Skip to content

Commit

Permalink
Add default logs directory
Browse files Browse the repository at this point in the history
  • Loading branch information
jclausen committed Apr 10, 2024
1 parent 1383aa1 commit 8247e79
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
package ortus.boxlang.runtime.config.segments;

import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
Expand Down Expand Up @@ -51,6 +52,11 @@ public class RuntimeConfig {
*/
public List<String> modulesDirectory = new ArrayList<>( Arrays.asList( BoxRuntime.getInstance().getRuntimeHome().toString() + "/modules" ) );

/**
* The default logs directory for the runtime
*/
public String logsDirectory = Paths.get( BoxRuntime.getInstance().getRuntimeHome().toString(), "/logs" ).normalize().toString();

/**
* An array of directories where custom tags are located and loaded from.
* {@code [ /{boxlang-home}/customTags ]}
Expand Down

0 comments on commit 8247e79

Please sign in to comment.