mirror of
https://github.com/wassname/ray.git
synced 2026-08-08 11:25:28 +08:00
Logging level (#38)
* Set logging levels in Makefile using -DRAY_COMMON_LOG_LEVEL=level * Lower level of some LOG_ERROR messages, log the name of the table operation on failure * Address rest of Robert's comments * Fix spurious log message
This commit is contained in:
committed by
Robert Nishihara
parent
986ed5c9e8
commit
7babe0d22f
+1
-1
@@ -16,7 +16,7 @@ unique_id globally_unique_id(void) {
|
||||
/* Use /dev/urandom for "real" randomness. */
|
||||
int fd;
|
||||
if ((fd = open("/dev/urandom", O_RDONLY)) == -1) {
|
||||
LOG_ERR("Could not generate random number");
|
||||
LOG_ERROR("Could not generate random number");
|
||||
}
|
||||
unique_id result;
|
||||
read(fd, &result.id[0], UNIQUE_ID_SIZE);
|
||||
|
||||
Reference in New Issue
Block a user