Skip to content

Commit

Permalink
Initialize a default log level
Browse files Browse the repository at this point in the history
Clean up has been broken by 3df63c5.

The verbosity was correctly initialized for the Server process, but not
for the CleanUp process.

To avoid the problem, initialize a default log level.
  • Loading branch information
rom1v committed May 27, 2020
1 parent 8f619f3 commit d499ee5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/main/java/com/genymobile/scrcpy/Ln.java
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ enum Level {
DEBUG, INFO, WARN, ERROR
}

private static Level threshold;
private static Level threshold = Level.INFO;

private Ln() {
// not instantiable
Expand Down

0 comments on commit d499ee5

Please sign in to comment.