asofold
8b55139003
Regroup default loggin initialization.
2014-11-24 15:08:32 +01:00
asofold
379cb159dd
ASYNCHRONOUS_DIRECT is enough.
2014-11-24 00:45:31 +01:00
asofold
8a03de1315
The server logger should be considered thread-safe by default (log4j).
...
To be sure that we don't kill exotic systems, it's also configurable.
2014-11-24 00:34:54 +01:00
asofold
43b33ed350
Catch and log exceptions during chunk-load on players joining.
2014-11-23 15:53:33 +01:00
asofold
0561638105
Add STATUS stream and use instead of INIT in some places.
...
* STATUS logs to console and default file, using queues.
* StaticLog logs to STATUS during runtime.
2014-11-23 15:47:10 +01:00
asofold
3460e29246
Remove StaticLog.schedule... and toString(Throwable).
2014-11-21 23:45:02 +01:00
asofold
4ffca941a2
Update comments.
2014-11-21 23:23:53 +01:00
asofold
db7775a2c7
Spaces.
2014-11-20 12:29:49 +01:00
asofold
99e4cdc1bc
Allow absolute paths for the log file.
2014-11-20 12:28:20 +01:00
asofold
3364d487cf
Fix logging task (sync) not registering. Shuffle init order.
2014-11-19 23:09:14 +01:00
asofold
4544e1da7b
Check for correct name of init logger.
2014-11-19 21:59:13 +01:00
asofold
1e455f77e2
Optimize for speed.
2014-11-19 21:24:00 +01:00
asofold
c0300c09a8
Attach server logger to the appropriate stream (+simplify).
2014-11-19 10:03:11 +01:00
asofold
17ce04b52d
Import cleanup.
2014-11-19 08:40:36 +01:00
asofold
ea57e5c3e1
Move Streams to NCPCore.
2014-11-19 08:36:53 +01:00
asofold
2fc56885fb
Remove accidental override.
2014-11-19 08:36:18 +01:00
asofold
ec36e879d3
[BLEEDING] Use the new logging framework from now on (read details).
...
* All logging is also going into the log file (always), debug output is
mostly/only going into the log file. File logging uses an asynchronously
processed queue now (!).
* Specify an existing directory (e.g. logs) and log files will named
after date + sequence number, changing with every reloading of the
configuration.
* Console and ingame logging remain within the primary thread.
* No extra configurability for customization, yet.
* Not all places have been cleaned up, concerning log levels. target
streams and package naming.
* Work in progress.
2014-11-19 00:07:52 +01:00
asofold
2f4d689722
[PLACEBO] Raw sketch of the upcoming logging framework, doing nothing.
2014-11-18 23:54:43 +01:00
asofold
f49c64e89d
Move StaticLogFile to NCPCommons, make use of the useBukkitLogger flag.
2014-11-17 15:40:04 +01:00
asofold
37c1da73ff
Rename LogUtil to StaticLog.
2014-11-17 11:25:51 +01:00
asofold
1a88df80c5
Trim exceptions (depth 1), add tabs if header is used.
2014-11-12 19:53:44 +01:00
asofold
d5cefe4c5a
Add dedicated compatibility module for CB 3100 (MC 1.7.10).
2014-11-11 21:44:40 +01:00
asofold
780d59d8a7
Use a utility method to get a String of a Throwable.
2014-11-11 20:28:49 +01:00
asofold
0201e4178b
Spaces.
2014-11-11 20:23:49 +01:00
asofold
aa4ef31051
Make locations and distance available for logging passable violations.
2014-11-11 02:12:19 +01:00
asofold
543753a74d
Spaces, indentation, comments.
2014-11-11 01:53:40 +01:00
asofold
4caec8aa63
Add tests for log actions.
2014-11-06 02:23:25 +01:00
asofold
ae35d26a93
Reduce code duplication in getOptimizedActionList.
2014-11-06 01:26:45 +01:00
asofold
4dcebd11c7
Spaces.
2014-11-06 01:23:24 +01:00
asofold
881bd44330
Fix LogAction.getOptimizedCopy returning something that logs nothing.
2014-11-06 00:47:59 +01:00
asofold
9a6bb37bd8
Add name and displayname to ParameterName, handle IP in ViolationData.
2014-11-06 00:45:45 +01:00
asofold
9de6061a9e
Comments + formatting + spaces.
2014-11-05 22:57:33 +01:00
asofold
1f2f18a748
More spaces.
2014-11-04 00:20:18 +01:00
asofold
8b43e5e5f1
Unify and simplify Check / AsyncCheck, ACheckConfig / AsyncCheckConfig.
...
Hinting at further changes to unify permission access and caching. Later
permission caching can also be done for moving checks, though checking
for the current thread may be exchanged in favor of config flags.
Generic configuration will allow to set individual timeouts for checks,
check groups and default. There could also be change policies like
"world change only", possibly listening to permission updates, if
feasible.
CheckData / AsyncCheckData are not as simple to unify, if we want to
keep the footprint as low as possible there. There could even be more
implementations to match different policies.
2014-11-04 00:17:43 +01:00
asofold
1eb8d98860
Spaces again.
2014-11-03 22:23:04 +01:00
asofold
7dba18cf67
Add entity widths to MCAccessBukkit. Compile with Bukkit 1.7.2-R0.3.
...
* "Swiftly" add entity widths to MCAccessBukkit (mostly switch).
* Compile CompatBukkit with Bukkit 1.7.2-R0.3 from now on.
2014-11-03 22:19:38 +01:00
asofold
da6b580f2a
Spaces.
2014-11-02 23:35:47 +01:00
asofold
27913a758d
Optimize TickTask (reduce footprint of copying), code formatting.
2014-11-02 23:35:27 +01:00
asofold
0118f4334f
Add server side velocity to debugging a move.
2014-11-01 18:11:47 +01:00
asofold
d013f289ec
Formatting / cleanup.
2014-11-01 16:36:38 +01:00
asofold
1d78b4eac0
Update comments on cow mappings (problematic: equals/hashCode).
2014-10-31 11:57:50 +01:00
asofold
95763d35c8
Add after-failure config flag checks for net/packet checks.
...
Obviously these have been forgotten, but are not marked with
@GlobalConfig. Using after-failure checking, because the raw config
getting and accessing might be slightly heavy-ish.
2014-10-31 11:03:23 +01:00
asofold
07bc7f6a90
Correct comment.
2014-10-30 13:02:07 +01:00
asofold
6c0e1bb6c8
If neither from nor loc is passable, set back to from (earliest) rather.
2014-10-29 23:28:17 +01:00
asofold
f29acd3f00
Only demand the word "slime" to match for slime blocks.
...
This might help with compatibility, since we don't know how different
continuations of Bukkit will name things.
2014-10-29 12:09:58 +01:00
asofold
4eaa46342a
Correct links to Jenkins.
2014-10-29 11:58:35 +01:00
asofold
31a414942c
Copy and paste fial.
2014-10-29 01:52:20 +01:00
asofold
b57d7745e4
[BLEEDING] Refine logging on logout. Actually set-back on logout.
...
* Always log location of logout if debug is set.
* Also check inconsistent logout if manahattan distance is > 0.
* Only perform "passable check" only if enabled and not dead/sleeping.
* Try to actually set-back.
2014-10-29 01:49:18 +01:00
asofold
e12c2a2bfc
Fix manhattan methods using doubles, add signature for LocationS.
2014-10-29 00:52:05 +01:00
asofold
9827570e2d
Log a warning if a player logs out having moved into a block unnoticed.
2014-10-28 23:09:36 +01:00