Skip to content

Commit c46af82

Browse files
authored
Merge pull request #15 from Gurummang/develop
add log
2 parents 31ad801 + bda1f50 commit c46af82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ def load_yara_rules(directory):
2727

2828
# 주어진 디렉토리 내의 모든 YARA 파일 찾기
2929
for root, dirs, files in os.walk(directory):
30+
logging.info(f"Scanning directory: {root}") # 현재 디렉토리 로그에 남기기
3031
for file in files:
3132
if file.endswith(".yar"):
3233
rule_files.append(os.path.join(root, file))

0 commit comments

Comments
 (0)