Method for logging and synchronizing diagnostic related events as events in a system for railway application, including the steps: step 1: requesting of sending of a number of not yet acknowledged stored events from a second system to a first system by the first system step 2: sending of the number of not yet acknowledged stored events from the second system to the first system by the second system; step 3: checking the number of the not yet acknowledged stored events by the first system, and proceeding to step 4 if the number of not yet acknowledged stored events is larger than zero, and proceeding to step 1 performed on a next second system if the number of not yet acknowledged stored events is equal to zero; step 4: requesting of sending a number of stored events from the second system to the first system by the first system; step 5: sending of the requested number of stored events as sent events to the first system by the second system; step 6: checking a number of correctly received events by the first system, and proceeding to step 7 if the number of correctly received events is equal to a number of requested events, proceeding to step 4 if the number of correctly received events is not equal to the number of requested events and a count of retries is smaller than a pre-defined parameter, and increasing the count of retries by one, proceeding to step 1 performed on the next second system if the number of correctly received events is not equal to the number of requested events and the count of retries is greater than or equal to the pre-defined parameter; step 7: storing received events in a memory of the first system by the first system, and acknowledging receipt of the received events to the second system by the first system step 8: checking the number of the not yet acknowledged stored events, sent in step 2, by the first system, and proceeding to step 1 performed on the next second system if the number of the not yet acknowledged stored events, sent in step 2, is equal to a number of successfully stored events in the first system, and proceeding to step 4 performed on the same second system if the number of the not yet acknowledged stored events is larger than the number of successfully stored events in the first system. step 1: requesting of sending of a number of not yet acknowledged stored events from a second system to a first system by the first system step 2: sending of the number of not yet acknowledged stored events from the second system to the first system by the second system; step 3: checking the number of the not yet acknowledged stored events by the first system, and proceeding to step 4 if the number of not yet acknowledged stored events is larger than zero, and proceeding to step 1 performed on a next second system if the number of not yet acknowledged stored events is equal to zero; proceeding to step 4 if the number of not yet acknowledged stored events is larger than zero, and proceeding to step 1 performed on a next second system if the number of not yet acknowledged stored events is equal to zero; step 4: requesting of sending a number of stored events from the second system to the first system by the first system; step 5: sending of the requested number of stored events as sent events to the first system by the second system; step 6: checking a number of correctly received events by the first system, and proceeding to step 7 if the number of correctly received events is equal to a number of requested events, proceeding to step 4 if the number of correctly received events is not equal to the number of requested events and a count of retries is smaller than a pre-defined parameter, and increasing the count of retries by one, proceeding to step 1 performed on the next second system if the number of correctly received events is not equal to the number of requested events and the count of retries is greater than or equal to the pre-defined parameter; proceeding to step 7 if the number of correctly received events is equal to a number of requested events, proceeding to step 4 if the number of correctly received events is not equal to the number of requested events and a count of retries is smaller than a pre-defined parameter, and increasing the count of retries by one, proceeding to step 1 performed on the next second system if the number of correctly received events is not equal to the number of requested events and the count of retries is greater than or equal to the pre-defined parameter; step 7: storing received events in a memory of the first system by the first system, and acknowledging receipt of the received events to the second system by the first system step 8: checking the number of the not yet acknowledged stored events, sent in step 2, by the first system, and proceeding to step 1 performed on the next second system if the number of the not yet acknowledged stored events, sent in step 2, is equal to a number of successfully stored events in the first system, and proceeding to step 4 performed on the same second system if the number of the not yet acknowledged stored events is larger than the number of successfully stored events in the first system. proceeding to step 1 performed on the next second system if the number of the not yet acknowledged stored events, sent in step 2, is equal to a number of successfully stored events in the first system, and proceeding to step 4 performed on the same second system if the number of the not yet acknowledged stored events is larger than the number of successfully stored events in the first system.