Stargate Network

Stargate Network

3M Downloads

Console spam

LemADEC opened this issue ยท 1 comments

commented

As of SGCraft-2.0.0-beta-6, console spam is observed.
Also, those logs are using stdout. Consider using the FML logger instead.

[03:26:58] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:findEnergySources:1805]: Found DHDTE at: BlockPos{x=-1544, y=66, z=-1854}
SGBaseTe.energyAvailableFrom: DHDTE{tileType=sgcraft:gcewing.sg.DHDTE, world=WorldServer{Name=SAM, DimensionId=0, DimensionType=minecraft:overworld, DimensionTypeId=0}, pos=BlockPos{x=-1544, y=66, z=-1854}, blockMetadata=-1} can supply 620364.4057630221
...
[03:30:17] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:energyAvailableFrom:1832]: Energy from Sources: 620364.4057630221
[03:30:17] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:energyAvailableFrom:1832]: Energy from Sources: 620364.4057630221
[03:30:17] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:useEnergy:1692]: Energy from Sources: 620364.4057630221
...
CCSGPeripheral.detach: from dan200.computercraft.core.apis.PeripheralAPI$PeripheralWrapper@40c52705
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1053]: accessSystemDialDestionation: true
SGBaseTE: Connection distance = 2560.480618946373
SGBaseTE: distanceFactor = 3.178901006695665
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1096]: EnergyToOpen: 4000.0
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1125]: -------------------   Power Usage Debug   --------------------------
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1126]: EnergyPerFuelItem: 96,000
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1127]: Gate Openings Per Fuel: 24
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1128]: SGPU Energy to Open with Distance Factor: 12,716
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1129]: --------------------------------------------------------------------
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1130]: IC2 Energy to Open with Distance Factor: 254,312
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1131]: --------------------------------------------------------------------
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1132]: ZPM Required: false
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1133]: ZPM Multiplier: 0
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1134]: --------------------------------------------------------------------
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1135]: Energy to Open: 4000.0
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1136]: Distance Factor: 3.178901006695665
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1137]: --------------------------------------------------------------------
SGBaseTe.findEnergySources: for BlockPos{x=-1547, y=66, z=-1859}
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:findEnergySources:1805]: Found DHDTE at: BlockPos{x=-1544, y=66, z=-1854}
SGBaseTe.energyAvailableFrom: DHDTE{tileType=sgcraft:gcewing.sg.DHDTE, world=WorldServer{Name=SAM, DimensionId=0, DimensionType=minecraft:overworld, DimensionTypeId=0}, pos=BlockPos{x=-1544, y=66, z=-1854}, blockMetadata=3} can supply 620364.4057630221
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:energyAvailableFrom:1832]: Energy from Sources: 620364.4057630221
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1138]: Energy Available: 620874.855007991
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1139]: Energy Required: 12715.604026782661
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1140]: Energy per Tick: 1.0
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1141]: Energy Used per Tick: 3.178901006695665
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:connect:1142]: --------------------------------------------------------------------
SGBaseTe.findEnergySources: for BlockPos{x=-1547, y=66, z=-1859}
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:findEnergySources:1805]: Found DHDTE at: BlockPos{x=-1544, y=66, z=-1854}
SGBaseTe.energyAvailableFrom: DHDTE{tileType=sgcraft:gcewing.sg.DHDTE, world=WorldServer{Name=SAM, DimensionId=0, DimensionType=minecraft:overworld, DimensionTypeId=0}, pos=BlockPos{x=-1544, y=66, z=-1854}, blockMetadata=3} can supply 620364.4057630221
[03:29:15] [Server thread/INFO] [STDOUT]: [gcewing.sg.tileentity.SGBaseTE:energyAvailableFrom:1832]: Energy from Sources: 620364.4057630221

You get FML logger like so:

@EventHandler
public void onFMLPreInitialization(@Nonnull final FMLPreInitializationEvent event) {
	logger = event.getModLog();
}
commented

I know, I'll fix it.