Results 1 to 9 of 9

Thread: Problem with creating log.txt and logs.txt files; in the dedicated server

  1. #1
    Student Pilot ITA_WVoss's Avatar
    Join Date
    Nov 2020
    Posts
    9
    Post Thanks / Like
    Total Downloaded
    6.87 MB

    Problem with creating log.txt and logs.txt files; in the dedicated server

    Hello everybody!! Hope you can help me.
    As the title suggests, the logs.txt file and the log.txt file at the end of a mission are no longer written to my Dedicated Server.
    I can't understand where the problem is.
    So I use the version 4.5 ATAG_CloDWatchdogx64, the logs.txt file is written until the mission is completely loaded, then any event is no longer written,
    even if during the mission all events are reported. Instead the log.txt file is never written.
    Thank you in advance for any help you want to give me.

    Cheers!!

    Voss
    Last edited by ITA_WVoss; Jan-18-2021 at 01:25.

  2. #2
    ATAG_Colander's Avatar
    Join Date
    Nov 2011
    Location
    Bir Tawil
    Posts
    11,128
    Post Thanks / Like
    Total Downloaded
    255.73 MB

    Re: Problem with creating log.txt and logs.txt files; in the dedicated server

    Make sure the "confs.ini" file has "LOG=1" instead of "LOG=0"


  3. #3
    Student Pilot ITA_WVoss's Avatar
    Join Date
    Nov 2020
    Posts
    9
    Post Thanks / Like
    Total Downloaded
    6.87 MB

    Re: Problem with creating log.txt and logs.txt files; in the dedicated server

    Quote Originally Posted by ATAG_Colander View Post
    Make sure the "confs.ini" file has "LOG=1" instead of "LOG=0"

    Thanks for the reply Colander,
    but as you can see the confs.ini file is set up to have the log.txt file.
    Yet he writes all the lines that need to load the mission, then no more any event that during
    the mission is seen written in the CLOD chat, such as killing, is not written.

    Cheers!!

    Voss

    [NET]
    serverName=ITALIANWING by Wings of Italy
    serverDescription=IL-2 Sturmovik: Cliffs of Dover Blitz
    speed=1000000
    localPort=27017
    maxPlayers=100
    serverInfo1=
    serverInfo2=
    serverInfo3=
    serverInfo4=
    VAC=1
    tryDirectConnect=1

    [Console]
    IP=19999
    IPS=
    LOG=1
    LOGTIME=1
    LOGFILE=logs.txt
    HISTORY=128
    HISTORYCMD=128
    WRAP=1
    PAUSE=1
    PAGE=20
    LOGKEEP=1

    [BOB]
    difficulty=8058095
    [sound]
    SoundUse=0
    speakers=-1
    [core]
    LinearObjectManager=1
    Roads=0

    [rts]
    ; avoids the dreaded serialization runtime error when running server
    ; per http://forum.1cpublishing.eu/showthread.php?t=34797
    scriptAppDomain=0

  4. #4
    Supporting Member
    Join Date
    Feb 2015
    Posts
    325
    Post Thanks / Like
    Total Downloaded
    277.05 MB

    Re: Problem with creating log.txt and logs.txt files; in the dedicated server

    You refer to log.txt in your message, yet logs.txt is in the confs.ini file

    Is that meant to be, or is it typo, or confusion?

    Best practice would be to have logs.txt for the server, and log.txt for the client.
    (So if you are running the dedicated server on the same pc as the client, they will not interfere...)

    Not at all sure I got this right ... but that's the only thing I can say about it...

  5. #5
    Student Pilot ITA_WVoss's Avatar
    Join Date
    Nov 2020
    Posts
    9
    Post Thanks / Like
    Total Downloaded
    6.87 MB

    Re: Problem with creating log.txt and logs.txt files; in the dedicated server

    Quote Originally Posted by DD_FT View Post
    You refer to log.txt in your message, yet logs.txt is in the confs.ini file

    Is that meant to be, or is it typo, or confusion?

    Best practice would be to have logs.txt for the server, and log.txt for the client.
    (So if you are running the dedicated server on the same pc as the client, they will not interfere...)

    Not at all sure I got this right ... but that's the only thing I can say about it...

    The problem is that my configs.ini is set correctly with LOG=1 (see post up) but when dedicate server starts launcher64.exe it create the log in the prompt window but it don't write in logs.txt file after the pre mission command.

    launcher64.jpg

    logs (1).txt

  6. #6
    ATAG_Colander's Avatar
    Join Date
    Nov 2011
    Location
    Bir Tawil
    Posts
    11,128
    Post Thanks / Like
    Total Downloaded
    255.73 MB

    Re: Problem with creating log.txt and logs.txt files; in the dedicated server

    Perhaps a file permissions issue?
    For example, if you ran first the game as admin and latter as a normal user, the file might not be writable.

  7. #7
    Supporting Member
    Join Date
    Feb 2015
    Posts
    325
    Post Thanks / Like
    Total Downloaded
    277.05 MB

    Re: Problem with creating log.txt and logs.txt files; in the dedicated server

    If you read/open the log file before the server was shutdown, the log file's contents may not be complete.
    Some lines that did show up in the console may be missing, they will show up once the server is shutdown (like via exit command).

    (The screen print of your server shows a lot of repeating lines regarding difficulty settings...? As does the log file.)

  8. #8
    Student Pilot ITA_WVoss's Avatar
    Join Date
    Nov 2020
    Posts
    9
    Post Thanks / Like
    Total Downloaded
    6.87 MB

    Re: Problem with creating log.txt and logs.txt files; in the dedicated server

    Thank you all!! For help,
    the problem was eventually solved. It was my wrong 4.5 ATAG_CloDWatchdogx64 closing procedure.

    Cheers!!

    Voss

  9. Likes DD_FT, 9./JG52_J-HAT liked this post
  10. #9
    Supporting Member 9./JG52_J-HAT's Avatar
    Join Date
    May 2012
    Location
    Germany
    Posts
    1,367
    Post Thanks / Like
    Blog Entries
    16
    Total Downloaded
    266.37 MB

    Re: Problem with creating log.txt and logs.txt files; in the dedicated server

    Nice! Now we can have BoB again
    i7 13700KF @5.3 Ghz | RTX 4090 526.86 1440p | 32 Gb RAM 6000 | Win10 64 bit | TrackIR 5 | VKB Gunfighter III | MFG Crosswind V2 | Warthog Throttle | Reverb G2 100% SteamVR SS

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •