|
@@ -7,6 +7,9 @@ import rov_server_config
|
|
|
import utils
|
|
|
from longvideo_update import server_health_check
|
|
|
|
|
|
+logging.basicConfig(level=logging.INFO,
|
|
|
+ format='%(asctime)s %(filename)s[line:%(lineno)d] %(levelname)s %(message)s',
|
|
|
+ datefmt='%a, %d %b %Y %H:%M:%S')
|
|
|
|
|
|
def server_restart(slb_client, instance_id, image_name):
|
|
|
try:
|