>> It doesn't matter if you declare the log variable static or not — it will work either way, except for entity bean components which require the log variable to be static.
The above snippet is from the reference guide.
@Entity class User {
@Logger private static Log log; }
I've tried to declare the log variable as static in my @Entity class, but it throws a NullPointerException on access. Is this a bug?