Skip to content

Commit

Permalink
remove mistaknlly changed util logging
Browse files Browse the repository at this point in the history
Signed-off-by: avifenesh <aviarchi1994@gmail.com>
  • Loading branch information
avifenesh committed Sep 29, 2024
1 parent 6f8c2c3 commit 95a27ef
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
9 changes: 3 additions & 6 deletions java/client/src/main/java/glide/api/logging/Logger.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ public enum Level {
WARN(1),
INFO(2),
DEBUG(3),
TRACE(4);
OFF(5)
TRACE(4),
OFF(5);

private final int level;

Expand Down Expand Up @@ -232,8 +232,7 @@ public static void setLoggerConfig(@NonNull Level level, String fileName) {

/**
* Creates a new logger instance and configure it with the provided log level. The logs will be
* written to stdout.
* To turn off the logger, use <code>setLoggerConfig(Level.OFF)</code>.
* written to stdout. To turn off the logger, use <code>setLoggerConfig(Level.OFF)</code>.
*
* @param level Set the logger level to one of <code>
* [DEFAULT, ERROR, WARN, INFO, DEBUG, TRACE, OFF]
Expand All @@ -249,7 +248,6 @@ public static void setLoggerConfig(@NonNull Level level) {
* level. The logger will filter all logs with a level lower than the default level decided by the
* Glide core.
*
*
* @param fileName If provided, the target of the logs will be the file mentioned. Otherwise, logs
* will be printed to stdout.
*/
Expand All @@ -260,7 +258,6 @@ public static void setLoggerConfig(String fileName) {
/**
* Creates a new logger instance. The logger will filter all logs with a level lower than the
* default level decided by Glide core. The logs will be written to stdout.
*
*/
public static void setLoggerConfig() {
setLoggerConfig(Level.DEFAULT, null);
Expand Down
1 change: 0 additions & 1 deletion utils/cluster_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
"warning": logging.WARNING,
"info": logging.INFO,
"debug": logging.DEBUG,
"off": logging.OFF,
}

GLIDE_HOME_DIR = os.getenv("GLIDE_HOME_DIR") or f"{__file__}/../.."
Expand Down

0 comments on commit 95a27ef

Please sign in to comment.