Quantcast

log_level for GET/PUT.. SWIFT Transactions & Operations

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

log_level for GET/PUT.. SWIFT Transactions & Operations

hrmcosbench
Is there a way to change the log_level to show more details for Operations. Currently, I only see INFO level on Operations.

ex.

2017-01-10 12:04:49,594 [INFO] [NoneStorage] - performing PUT at /mycontainers1/myobjects1
2017-01-10 12:04:50,141 [INFO] [NoneStorage] - performing PUT at /mycontainers1/myobjects2
2017-01-10 12:04:50,280 [INFO] [NoneStorage] - performing PUT at /mycontainers1/myobjects3
2017-01-10 12:04:50,452 [INFO] [NoneStorage] - performing PUT at /mycontainers1/myobjects4
2017-01-10 12:04:50,610 [INFO] [NoneStorage] - performing PUT at /mycontainers1/myobjects5
2017-01-10 12:04:50,718 [INFO] [NoneStorage] - performing PUT at /mycontainers1/myobjects6
2017-01-10 12:04:50,836 [INFO] [NoneStorage] - performing PUT at /mycontainers1/myobjects7
2017-01-10 12:04:50,968 [INFO] [NoneStorage] - performing PUT at /mycontainers1/myobjects8
2017-01-10 12:04:51,099 [INFO] [NoneStorage] - performing PUT at /mycontainers1/myobjects9

can this be changed to DEBUG or to show transaction IDs etc.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: log_level for GET/PUT.. SWIFT Transactions & Operations

Aneesha
you can change the log level in release/conf/controller.conf or driver.conf

[controller]
 drivers = 1
-log_level = DEBUG
+log_level = INFO
 log_file = log/system.log
 archive_dir = archive
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: log_level for GET/PUT.. SWIFT Transactions & Operations

hrmcosbench
This post was updated on .
I have

controller.conf as

[controller]
drivers = 1
log_level = DEBUG
log_file = log/system.log
archive_dir = archive


and
driver.conf

[driver]
name=127.0.0.1:18088
url=http://127.0.0.1:18088/driver
log_level=DEBUG

do you mean I need to change the lines to inlcude as

-log_level = DEBUG
+log_level = INFO

?

I tried and I still not getting the Transaction Id on the object..

2017-01-12 15:48:07,268 [INFO] [NoneStorage] - performing PUT at /mycontainers3/myobjects24
2017-01-12 15:48:07,368 [INFO] [NoneStorage] - performing PUT at /mycontainers3/myobjects25
2017-01-12 15:48:07,453 [DEBUG] [WorkerContext] - Worker[1] : ratio=2
2017-01-12 15:48:07,550 [INFO] [NoneStorage] - performing PUT at /mycontainers3/myobjects26
2017-01-12 15:48:07,716 [INFO] [NoneStorage] - performing PUT at /mycontainers3/myobjects27

Loading...