-
Notifications
You must be signed in to change notification settings - Fork 20.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Retrieving Full Hash Values from Log Messages #27852
Comments
The code for the log format is here: https://github.com/ethereum/go-ethereum/blob/master/common/types.go#L85 This pretty printing is only active for the "terminal" log format. You can log in other formats where this truncation will not happen, e.g. in
|
not started node - flag provided but not defined: -log.format |
Make sure you have a recent version of Geth |
Geth result for logs
METRICS AND STATS` |
@achakhalyan you need geth >= 1.11.6, as |
oy ok its the latest update, thanks. |
First of all, I'm not the Geth Support Team :), I'm just a member of the community and Gether.
If you mean the tx in txpool by replaced, I think there will be no logs. |
Dear Geth Support Team,
I am working on a project that requires monitoring specific log entries related to rejected transactions in a Geth node. While analyzing the logs, I noticed that the hash values are truncated, and I am only able to retrieve a part of the hash
(e.g., "e8cb6a..fc4198").
My current use case demands the full hash value for further processing and analysis. I have explored the available verbosity levels and other configurations but have not found a way to change the log format to include the complete hash values.
Here is an example log entry that I am working with:
TRACE[08-01|10:07:12.751] Possible uncle rejected hash=e8cb6a..fc4198 reason="ignore uncle for beacon block"
Could you please advise if there is an existing configuration option or method to include the full hash values in the log messages? If not, would it be possible to consider this as a feature request or provide guidance on how to achieve this requirement?
I appreciate your assistance and look forward to hearing from you. Please let me know if you need any additional information or context to assist with this inquiry.
Best regards,
Armen
[email protected]
The text was updated successfully, but these errors were encountered: