Skip to content

Commit 38ff556

Browse files
committed
minor updates on logging
1 parent 5be7d27 commit 38ff556

File tree

6 files changed

+8
-7
lines changed

6 files changed

+8
-7
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ memo.txt
2828
site/
2929

3030
_logs/
31-
.cache
31+
.logs/
32+
.cache/
3233
__pycache__
3334
.ruff_cache/
3435
.pytest_cache/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ src/
334334
335335
└── uploads/ [.gitignore] # Local directory to store uploaded files such as graphviz diagrams generatd by `Network` class
336336
337-
└── _logs/ [.gitignore] # Local directory to store error/warning logs for debugging
337+
└── .logs/ [.gitignore] # Local directory to store error/warning logs for debugging
338338
339339
340340
pyproject.toml # Project config
@@ -510,7 +510,7 @@ Common issues and solutions:
510510
511511
* Issues related to dependencies: `rm -rf uv.lock`, `uv cache clean`, `uv venv`, and run `uv pip install -r requirements.txt -v`.
512512
513-
* Issues related to agents and other systems: Check `_logs` directory for detailed error messages and stack traces.
513+
* Issues related to agents and other systems: Check `.logs` directory located in the root directory for error messages and stack traces.
514514
515515
* Issues related to `Python quit unexpectedly`: Check [this stackoverflow article](https://stackoverflow.com/questions/59888499/macos-catalina-python-quit-unexpectedly-error).
516516

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ Common issues and solutions:
257257
258258
* Issues related to dependencies: `rm -rf uv.lock`, `uv cache clean`, `uv venv`, and run `uv pip install -r requirements.txt -v`.
259259
260-
* Issues related to agents and other systems: Check `_logs` directory for detailed error messages and stack traces.
260+
* Issues related to agents and other systems: Check `.logs` directory located in the root directory for detailed error messages and stack traces.
261261
262262
* Issues related to `Python quit unexpectedly`: Check [this stackoverflow article](https://stackoverflow.com/questions/59888499/macos-catalina-python-quit-unexpectedly-error).
263263

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ exclude = ["test*", "__pycache__", "*.egg-info"]
1515

1616
[project]
1717
name = "versionhq"
18-
version = "1.2.1.4"
18+
version = "1.2.1.5"
1919
authors = [{ name = "Kuriko Iwai", email = "kuriko@versi0n.io" }]
2020
description = "An agentic orchestration framework for building agent networks that handle task automation."
2121
readme = "README.md"

src/versionhq/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
from versionhq.task.formation import form_agent_network
3131

3232

33-
__version__ = "1.2.1.4"
33+
__version__ = "1.2.1.5"
3434
__all__ = [
3535
"Agent",
3636

src/versionhq/_utils/logger.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def _save(self, level: str, message: str, filename: str = None):
7272
pass
7373

7474
cwd = Path.cwd()
75-
log_file_dir = f"{cwd}/_logs"
75+
log_file_dir = f"{cwd}/.logs"
7676
os.makedirs(log_file_dir, exist_ok=True)
7777
filename = filename if filename else datetime.now().strftime('%H_%M_%S_%d_%m_%Y')
7878
abs_dir = f"{log_file_dir}/{filename}.log"

0 commit comments

Comments
 (0)