# Variable in Log file with Include project

**URL:** <https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621>\
**Category:** Discussion\
**Created:** [November 28, 2016, 4:00am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621 "2016-11-28T04:00:43Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![exploit-aq](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@exploit-aq](https://www.finalbuilder.com/forums/u/exploit-aq)\
**Post date:** [November 28, 2016, 4:00am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621/1 "2016-11-28T04:00:43Z")

</div>

Hi !   
  
I have a problem with the fields : _filename_ and _projectname_ when i create a log file (xml format) with include projects. Indeed, i have a global project which launch another projects :   
  
Global Project.atp5  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Project 1.atp5  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Project 2.atp5  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Project 3.atp5  
  
I dont understand why i have not the subproject name in variable _Projectname_. I have always the name of the global project. Is it normal ? I need to have the correct name for my logs system.  
  
  
  
Pierrick

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [December 8, 2016, 8:18am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621/2 "2016-12-08T08:18:38Z")

</div>

We’re looking into this, will post here when I have a fix.

---

<div class="post-metadata">

**Author:** ![exploit-aq](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@exploit-aq](https://www.finalbuilder.com/forums/u/exploit-aq)\
**Post date:** [December 12, 2016, 11:10am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621/3 "2016-12-12T11:10:44Z")

</div>

Ok thank you …   
 Tell me if you need some more informations.   
  
 regards,

---

<div class="post-metadata">

**Author:** ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)\
**Post date:** [December 13, 2016, 1:35am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621/4 "2016-12-13T01:35:07Z")

</div>

Hi   
  
 Thanks for your patience, this build should resolve this issue :   
  
 [http://downloads.finalbuilder.com/downloads/automise/500/AT500\_678.exe](http://downloads.finalbuilder.com/downloads/automise/500/AT500_678.exe)

---

<div class="post-metadata">

**Author:** ![exploit-aq](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@exploit-aq](https://www.finalbuilder.com/forums/u/exploit-aq)\
**Post date:** [December 14, 2016, 4:08am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621/5 "2016-12-14T04:08:27Z")

</div>

Wonderfull ! it’s working. Thanks for your reactivity.   
 I was important because i use this field to log the statut of the task.   
  
 Regards,   
  
 Pierrick

---

<div class="post-metadata">

**Author:** ![exploit-aq](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@exploit-aq](https://www.finalbuilder.com/forums/u/exploit-aq)\
**Post date:** [December 14, 2016, 4:08am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621/6 "2016-12-14T04:08:53Z")

</div>

> Posted By [Fougere](https://www.finalbuilder.com/user-profile/userid/19778) on 14 Dec 2016 09:08 AM  
> Wonderfull ! it's working. Thanks for your reactivity.   
> It was important because i use this field to log the statut of the task.   
>   
> Regards,   
>   
> Pierrick

---

<div class="post-metadata">

**Author:** ![exploit-aq](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@exploit-aq](https://www.finalbuilder.com/forums/u/exploit-aq)\
**Post date:** [January 5, 2017, 6:47am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621/7 "2017-01-05T06:47:46Z")

</div>

Hi !   
 First at all, happy new year for automise team !! 😃  
 Then, I have the same problem with the field : starttime (and runtime)   
 The starttime is always the start time of global project. So it’s not the good information for sub project log file.   
  
 Is it normal ? because it’s not easy calculate the correct runtime for each project.   
  
 Regard,   
  
 PF

---

<div class="post-metadata">

**Author:** ![nevar](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/n/c4cdca/32.png) [@nevar](https://www.finalbuilder.com/forums/u/nevar)\
**Post date:** [January 9, 2017, 6:18am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621/8 "2017-01-09T06:18:16Z")

</div>

Currently the build start time is when the outer project started. The best way to get an inner project start time is to look at the first action start time in the export log for that project. Would this work in your environment?

---

<div class="post-metadata">

**Author:** ![exploit-aq](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/e/59ef9b/32.png) [@exploit-aq](https://www.finalbuilder.com/forums/u/exploit-aq)\
**Post date:** [January 9, 2017, 10:51am UTC](https://www.finalbuilder.com/forums/t/variable-in-log-file-with-include-project/4621/9 "2017-01-09T10:51:57Z")

</div>

Indeed, i think we ll take this way. I ll discuss with our developpment team.   
  
 Thx.   
  
 PF
