|
@@ -46,10 +46,8 @@ class AliyunLogger:
|
|
logstore = "rewriting-log"
|
|
logstore = "rewriting-log"
|
|
endpoint = "cn-hangzhou.log.aliyuncs.com"
|
|
endpoint = "cn-hangzhou.log.aliyuncs.com"
|
|
if data:
|
|
if data:
|
|
- try:
|
|
|
|
- data = dict(item.split(":", 1) for item in data.split(",,"))
|
|
|
|
- except ValueError as e:
|
|
|
|
- print(f"Error processing item: {e}")
|
|
|
|
|
|
+ data = dict(item.split(":", 1) for item in data.split(",,"))
|
|
|
|
+
|
|
contents = [
|
|
contents = [
|
|
("principal", principal),
|
|
("principal", principal),
|
|
("channel", channel),
|
|
("channel", channel),
|