The article discusses the problem of formation of logical competences of future mathematics teachers both at the undergraduate and graduate levels. In this case, the logic is considered in three aspects – classical Aristotelian logic, modern mathematical logic and its application to Aristotelian logic, non-classical logics. The author suggests a range of measures related to the content of logical training of future mathematics teachers at pedagogical and classical universities aimed at its improving and enhancing students’ logical and general professional competence.