# How to set environment?

**URL:** <https://forum.payara.fish/t/how-to-set-environment/205>\
**Category:** Technical Discussion\
**Created:** [February 1, 2022, 6:47pm UTC](https://forum.payara.fish/t/how-to-set-environment/205 "2022-02-01T18:47:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![david](https://avatars.discourse-cdn.com/v4/letter/d/aeb1de/32.png) [@david](https://forum.payara.fish/u/david)\
**Post date:** [February 1, 2022, 6:47pm UTC](https://forum.payara.fish/t/how-to-set-environment/205/1 "2022-02-01T18:47:12Z")

</div>

Hi.  
How to set environment in payara 5? and then to give it in the application.properties file spring boot?  
ps.  
i want to set a path for a log file(C:/myfolder/file.log) in the server by environment  
and then call it in the application.properties
