Jump to content

Stuff (-- crap) the console outputs : discuss


Ind

Recommended Posts


  • Group:  Members
  • Topic Count:  169
  • Topics Per Day:  0.04
  • Content Count:  1260
  • Reputation:   750
  • Joined:  11/19/11
  • Last Seen:  

Map Server

[info]: Initializing random number generator.

[info]: Logging item transactions to table 'picklog'.
[info]: Logging commands to table 'atcommandlog'.


Char Server

[status]: rAthena server has been initialized

[info]: Reading configuration file conf/import/char_conf.txt...
[info]: Done reading conf/import/char_conf.txt.
[info]: Done reading conf/char_athena.conf.
[info]: Reading the configuration file conf/subnet_athena.conf...
[status]: Read information about 1 subnetworks.
[info]: Reading file conf/inter_athena.conf...
[info]: Reading file conf/import/inter_conf.txt...
[info]: Done reading conf/import/inter_conf.txt.
[info]: Done reading conf/inter_athena.conf.

[info]: Finished reading the char-server configuration.
[info]: interserver initialize...

[status]: set char_server_ip : 127.0.0.1
[status]: set char_server_port : 3306
[status]: set char_server_id : ragnarok
[status]: set char_server_pw : ragnarok
[status]: set char_server_db : ragnarok

why does it waste time outputting the ones it aint using?|: or" why output any of that info at all

[info]: Finished reading the inter-server configuration.
[info]: Initializing char server.
[info]: Begin Initializing.......

[info]: Finished initilizing.......
[info]: char server initialized.

[info]: End of char server initilization function.
[info]: open port 6121.....

whats the point of the above when it got the following (which is output right after them)

[status]: The char-server is ready (Server is listening on the port 6121).


Login Server

[info]: Reading configuration file conf/inter_athena.conf...
[info]: Reading configuration file conf/import/inter_conf.txt...
[info]: Finished reading conf/import/inter_conf.txt.
[info]: Finished reading conf/inter_athena.conf.
[info]: Reading configuration file conf/import/login_conf.txt...
[info]: Finished reading conf/import/login_conf.txt.
[info]: Finished reading conf/login_athena.conf.
[info]: Reading the configuration file conf/subnet_athena.conf...
[status]: Read information about 1 subnetworks.
[info]: Initializing random number generator.
[info]: Using account engine 'sql'.

  • Upvote 3
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  75
  • Topics Per Day:  0.02
  • Content Count:  2223
  • Reputation:   593
  • Joined:  10/26/11
  • Last Seen:  

I think all the ones that have "start" and "end" message pairs, if it's something that happens very fast we can remove the start message.

Ex: remove "[info]: Reading configuration file conf/inter_athena.conf..."

keep "[info]: Finished reading conf/inter_athena.conf."

For the functions that take longer to execute (ex: loading NPCs), keep the "start" and "end" messages.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  148
  • Reputation:   46
  • Joined:  11/02/11
  • Last Seen:  

[status]: Read information about 1 subnetworks.

This could be useful only when subnetwork > 1

[info]: Initializing random number generator.

Only display on one console.

+1 to Brian suggestion.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  72
  • Topics Per Day:  0.02
  • Content Count:  2997
  • Reputation:   1130
  • Joined:  05/27/12
  • Last Seen:  

+1 to Brian.

Keep the output about logging (mapserver), agree that everything else should be removed.

Link to comment
Share on other sites

  • 2 weeks later...

  • Group:  Members
  • Topic Count:  169
  • Topics Per Day:  0.04
  • Content Count:  1260
  • Reputation:   750
  • Joined:  11/19/11
  • Last Seen:  

Applied as per the criteria here suggested by you guys: r16936

  • Upvote 3
Link to comment
Share on other sites

×
×
  • Create New...