This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory-site.git
The following commit(s) were added to refs/heads/main by this push:
new f9cdb890ea 🔄 synced local 'docs/guide/' with remote 'docs/guide/'
f9cdb890ea is described below
commit f9cdb890eab77cfbd71f2beb7f12b175d89acfab
Author: chaokunyang <[email protected]>
AuthorDate: Fri May 8 05:20:23 2026 +0000
🔄 synced local 'docs/guide/' with remote 'docs/guide/'
---
docs/guide/java/advanced-features.md | 2 +-
docs/guide/java/troubleshooting.md | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/docs/guide/java/advanced-features.md
b/docs/guide/java/advanced-features.md
index 7337643f41..8661f87558 100644
--- a/docs/guide/java/advanced-features.md
+++ b/docs/guide/java/advanced-features.md
@@ -155,7 +155,7 @@ Custom memory allocators are useful for:
### ForyLogger
-By default, Fory uses a custom logger `ForyLogger` for internal needs. It
builds resulting logged data into a single string and sends it directly to
`System.out`. The result line layout is similar to (in Log4j notation):
+By default, Fory uses a custom logger `ForyLogger` for internal needs at
`WARN` level, or `INFO` level when `ENABLE_FORY_DEBUG_OUTPUT=1` is set. Set
`FORY_LOG_LEVEL` to `ERROR`, `WARN`, `INFO`, or `DEBUG` to configure the
process default level before startup. `ForyLogger` builds resulting logged data
into a single string and sends it directly to `System.out`. The result line
layout is similar to (in Log4j notation):
```
%d{yyyy-MM-dd hh:mm:ss} %p %C:%L [%t] - %m%n
diff --git a/docs/guide/java/troubleshooting.md
b/docs/guide/java/troubleshooting.md
index 6734997774..ab97d98c54 100644
--- a/docs/guide/java/troubleshooting.md
+++ b/docs/guide/java/troubleshooting.md
@@ -191,8 +191,8 @@ Fory fory = Fory.builder()
3. **Verify registration order** - must be consistent across peers
4. **Enable logging** to see internal operations:
-```java
-LoggerFactory.setLogLevel(LogLevel.DEBUG_LEVEL);
+```bash
+FORY_LOG_LEVEL=INFO mvn test -Dtest=org.apache.fory.TestClass#testMethod
```
## Related Topics
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]