k8s 相关组件启动时 -v参数指定的日志级别 --v=0 Generally useful for this to ALWAYS be visible to an operator. --v=1 A reasonable default log level if you don't want verbosity. --v=2 Useful steady state information about the service and important log messages that may
查看和配置日志 WebLogic Server 内的每个子系统都可生成日志消息来传达其状态.例如,当启动 WebLogic Server 实例时,安全子系统会输出消息以报告其初始化状态.为了记录其子系统生成的消息,WebLogic Server 会将消息写入日志文件中. 服务器日志可记录有关诸如服务器的启动和关闭.新应用程序的部署或一个或多个子系统故障等事件的信息.这些消息包括事件的时间和日期以及启动事件的用户 ID 等相关信息.您可以查看并排序这些服务器日志消息以检测问题.跟踪故障来源以及跟踪
循环查看指定路径下的所有文件.文件夹,包含隐藏文件注:“.filename” 以点开头的是隐藏文件 import os for cur_path,cur_dirs,cur_files in os.walk(r'E:\Python学习\pycharm\python脚本\day6'): print('当前路径',cur_path) print('当前目录下有哪些文件夹',cur_dirs) print('当前目录下有哪些文件', cur_files) print('='*20) #输出: 当前路径