Skip to content
This repository has been archived by the owner on Jun 10, 2024. It is now read-only.

Change sysflags and oldflags to log as hex #7

Open
robmueller opened this issue Jun 27, 2017 · 0 comments
Open

Change sysflags and oldflags to log as hex #7

robmueller opened this issue Jun 27, 2017 · 0 comments

Comments

@robmueller
Copy link

Currently sysflags and oldflags are logged as decimal, which makes them really hard to glace in the logs.

e.g. sysflags=<805306384>

If this was logged as hex instead, it would be a lot more obvious at a glance.

e.g. sysflags=<30000010>

Ok, so you still need to know the constants in mailbox.h rather well, but it's still easier to remember 8000000 = expunge, 4000000 = unlinked, 2000000 = archived, 1000000 = needs cleanup and decode 3 = 2 + 1 a lot quicker than the decimal version.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant